javascript - How to Get ClientSide Value from ASP.net Custom Control? -
how can clientside(javascript) value asp.net custom control?
example want value this:
var selecteditemid = getelementbyid("<%=mycontrol1.clientid%>").value;
how can set specific value in control scripts ".value
" property above?
additional note: want ".value" property(javascript) dropdown control(one of controls in custom control) selected value.
i'm not sured can try this:
var control = $find("<%= mycontrol1.clientid %>");
may following link usefull no error message displayed custom validator
Comments
Post a Comment