In my previous version of the application, this code worked fine:
form.find('input').disable();
With new environment (Rails 3.3 and new version of JQuery) this doesn’t work anymore.
The error I’m getting is:
Uncaught TypeError Object[object Object] has not method ‘disable’.
Why do I get this error and how do I solve it?
or in jQuery maybe…