Skip to main content

Posts

Showing posts from September, 2015

Fixed: ‘TypeError: $.browser is undefined’ jQuery?

Reason: Once you upgrade your jQuery ( 1.9.0 or above ) or jQueryUI ( 1.9.2 or above ) library in your application, then you’ll see that many of the existing functionalities get affected. When you see in error console there is error mentioned as: ‘TypeError: $.browser is undefined’ This is because of ‘$.browser’ has been removed from JQuery 1.9 or above. Solution: To resolve the issue you can include the jQuery migrate script and this script file will allow you to use ‘$.browser’ again. This migrate script also restore many other depreciated features. See details of the same here Directly include jQuery migrate script as: < script src ="http://code.jquery.com/jquery-migrate-1.2.1.js"></ script > Alternatively, you can download this script and can use this locally from your application.