Possible Duplicate:
jQuery latest $.browser
There was an error with jQuery 1.9 and $.browser; It returns 'undefined' for any $.browser; function. What i did wrong?
TypeError: 'undefined' is not an object (evaluating '$.browser.msie')
I use following code:
setTimeout(function(){if($.browser.msie){$('.ovy').animate({top:"0"},ct);
$.browser
have been removed from 1.9. You can use jQuery Migrate to have $.browser
support.
I solved this problem like this
if(navigator.appVersion.indexOf("MSIE") !== -1){
// Only MSIE will evaluate this code
}
$.browser
has been removed as of jQuery 1.9. If you want to continue making use of it, you'll need to use the jQuery migrate
plugin.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With