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
60
enable/ disable webnumericedit through Javascript
posted

I have a webnumericedit that is set to enable='false'. I want to enable it by javascript like this:

  function Enable_wne(oEdit, oldValue, oEvent)
{
    var wnecontrol= document.getElementById('<%= wnecontrol.ClientID%>');
    wnecontrol.disabled=false;
}

 

The object wnecontrol is filled but it does not enable it. I tried this with othe controls like asp.net dropdownlist, and that works.