Help For JavaScript in ASP.NET

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

How can I find an element of radiobuttonlist control in javascript for client side validation which is not browzer specific
 
var MyElement = document.getElementById("controlname"); works on most
browsers
Please remember of course that if the control is embedded inside a Web User
control then it will be mangled withsomething like
WebUserControlId:ControlID and that gets even messier if you have Web
Control inside of Web control. If you are unsure run the page and right
click and view the source and check to see what it is
 
Back
Top