ranjith n

ranjith n

  • NA
  • 98
  • 0

javscript in content page

Mar 31 2008 2:59 PM

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)