Groups | Blog | Home
all groups > asp.net > may 2004 >

asp.net : Help For JavaScript in ASP.NET


Shalin
5/21/2004 9:46:02 PM
Hi

How can I find an element of radiobuttonlist control in javascript for client side validation which is not browzer specific
johndoe NO[at]SPAM driver.net
5/22/2004 3:21:49 AM
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



[quoted text, click to view]

AddThis Social Bookmark Button