Hi,
I have labels for text boxes on an html form, and I need to change the text that's displayed between these labels when a certain drop-down value is selected. I know how to call a JavaScript client-side function in the onChange attribute of the select box, but how do I change the text in the label? Or is there another way to accomplish this?
like, right now I've got
<label for="IDNumber">Driver's License Number</label>
<input type="text" name="IDNumber" value="strIDNumber">
how can I modify the words "Driver's License Number"?
Thanks,
Ray
I have labels for text boxes on an html form, and I need to change the text that's displayed between these labels when a certain drop-down value is selected. I know how to call a JavaScript client-side function in the onChange attribute of the select box, but how do I change the text in the label? Or is there another way to accomplish this?
like, right now I've got
<label for="IDNumber">Driver's License Number</label>
<input type="text" name="IDNumber" value="strIDNumber">
how can I modify the words "Driver's License Number"?
Thanks,
Ray