Click to See Complete Forum and Search --> : Enable/disable items dynamically


purirb123
06-14-2004, 04:18 PM
I use an include header page to do my menu. Basically user will click on a hyperlink to enable or disable some items. How can I do this in Java script. Now depending on what hyper link is clicked on I should enable or disable an item in the form. What is an elegant and simple way to do this.

theBody44
06-14-2004, 04:22 PM
Try something like...document.forms[0].myText.disabled = true...in your function.