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
1845
Disabling in javascript
posted

How do you disable this control in Javascript?  I don't see any disable or enable methods?

I tried disabling the html input element, which keeps the user from entering input, but this of course doesn't change the styling, so the control still looks like you can enter data into it.  So, I have to use the JQuery addClass to add 'ui-state-disabled' to the element.  I have to do this all in reverse to enable the control.

If this is the only way to accomplish this, can you point me to any documentation on extending the control to add disable and enable methods?