Hi,
Actually I have 5 check boxes and 5 respective text areas.
My need is if the user types something inside the TextArea, without checking the corresponding checkbox, then the checkbox should automatically get CHECKED.
Similarly, if the user clears any textareas completely, then the checkbox needs to be UNCHECKED.
I am generating the TextAreas and Checkboxes through Response.Write("<INPUT TYPE=TextArea>"...... so on.
I thought of having a function to avoid repetition for the five+five controls.
Do you have any other strategy/approach to this problem?
How to do it ?
Thank you in advance
RR
:-(
Actually I have 5 check boxes and 5 respective text areas.
My need is if the user types something inside the TextArea, without checking the corresponding checkbox, then the checkbox should automatically get CHECKED.
Similarly, if the user clears any textareas completely, then the checkbox needs to be UNCHECKED.
I am generating the TextAreas and Checkboxes through Response.Write("<INPUT TYPE=TextArea>"...... so on.
I thought of having a function to avoid repetition for the five+five controls.
Do you have any other strategy/approach to this problem?
How to do it ?
Thank you in advance
RR
:-(