1
Reply

javscript in content page

ranjith n

ranjith n

Mar 31 2008 2:59 PM
3.4k

Hi, I have a content page which uses a materpage.I have some textbox,checkbox and radio button controls on the content page.I want to toggle the textboxes present on the content page i.e(enabling and disabling) upon checking and unchecking checkbox and radiocontrols.can someone tell me how to do this.and also can I add the script in content page.?

I have written something like this..which is disabling the textbox,but upon unchecking the checkbox aslo it is remaining same.

document.getelementbyid('<%=text1.ClientID%>').disabled=true; 

 

thanks.

santosh.


Answers (1)