S
sgershon
Hi.
I know this is should be a simple question.
I know server-side web-programming, and never needed to use client-side
scripting... until now
I have done so far a little number of scripts that work well. But there
are two that I am having special difficulties with:
1)
I have a SELECT type input, "document.form_name.select_input".
I have a TEXTAREA type input, "document.form_name.text_area".
I have a BUTTON "button".
When "button" is pressed, "text_area"s value should be
"text_area"+"select_input"s value.
2)
I have a TEXT type input "document.form_name.date1".
I have a TEXT type input "document.form_name.date2".
I have a TEXT type input "document.form_name.days".
When any of the first two changes (to a date in the format
"dd/mm/yyyy"), the third one should contain the difference between the
dates, in days.
Any help with these?
Thanks;
SGershon
I know this is should be a simple question.
I know server-side web-programming, and never needed to use client-side
scripting... until now
I have done so far a little number of scripts that work well. But there
are two that I am having special difficulties with:
1)
I have a SELECT type input, "document.form_name.select_input".
I have a TEXTAREA type input, "document.form_name.text_area".
I have a BUTTON "button".
When "button" is pressed, "text_area"s value should be
"text_area"+"select_input"s value.
2)
I have a TEXT type input "document.form_name.date1".
I have a TEXT type input "document.form_name.date2".
I have a TEXT type input "document.form_name.days".
When any of the first two changes (to a date in the format
"dd/mm/yyyy"), the third one should contain the difference between the
dates, in days.
Any help with these?
Thanks;
SGershon