Uncaught Error: cannot call methods on button prior to initialization; attempted to call method 'widget'
I have this ERROR while I am migrating from old version of jQuery to jQuery 1.9.1. How do I solve this problem. Is there any solution for this problem?