homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

Javascript error a.browser is undefined

 10:25 am on Nov 20, 2013 (gmt 0)

Error: TypeError: a.browser is undefined
Source File: .../jquery.tools2.min.js
Why is this error shown as I have updated with new code.



 12:46 pm on Nov 20, 2013 (gmt 0)

What version of Jquery are you using? It looks like the last version of Jquery that Jqery Tools was compatible with was 1.7.

I am not sure what a.browser is, but I wonder if it is related to the removal of JQuery.browser?


 4:04 pm on Nov 20, 2013 (gmt 0)

jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license


 6:05 pm on Nov 20, 2013 (gmt 0)

You need to use a Jquery version lower than 1.9 or use the Jquery migrate plugin.


 8:47 am on Nov 21, 2013 (gmt 0)

You mean
jQuery 1.9.1 Released will be fine?


 9:05 am on Nov 21, 2013 (gmt 0)

I have tested and your are right. It works perfect:
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
<script src="http://code.jquery.com/jquery-migrate-1.2.1.min.js"></script>

Only issue is now left:

How to avoid this issue?

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved