Hi,
I actually need to perform the same task on a set of Checkboxes and TextAreas. Basically, I have 5 text boxes. I want to call a function each time the user changes something in the textbox.
When the textarea is empty, the checkbox gets cleared. Similarly, when the user types something in the textarea, the checkbox should get checked automatically.
I thought instead of having 5 different functions to do this task, why not just one that'll accept the control names (checkboxname, textareaname) and perform the task.
But it is a real hell to figure out a way to make it work.
Can you help me in this or can you suggest some better way to do this ?
ClientSide VBSCRIPT is OK.
Thanks in advance.
RR
:-(
I actually need to perform the same task on a set of Checkboxes and TextAreas. Basically, I have 5 text boxes. I want to call a function each time the user changes something in the textbox.
When the textarea is empty, the checkbox gets cleared. Similarly, when the user types something in the textarea, the checkbox should get checked automatically.
I thought instead of having 5 different functions to do this task, why not just one that'll accept the control names (checkboxname, textareaname) and perform the task.
But it is a real hell to figure out a way to make it work.
Can you help me in this or can you suggest some better way to do this ?
ClientSide VBSCRIPT is OK.
Thanks in advance.
RR
:-(