Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
240
WebNumericEdit.focus() in javascript
posted

 

On a page there is WebNumericEdit control.

On client side I'm trying:

var numeditQuantity = document.getElementById(

 

'<%=numeditQuantity.ClientID%>');

 numeditQuantity.disabled = true;

 OR

numeditQuantity.focus();

but this control does not become disabled and does not get focus...

Why?

Why on defualt ASP.NET control it does work? Why on IG control it does not work?