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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top