Welcome to WebmasterWorld Guest from 23.20.79.227

Forum Moderators: open

Message Too Old, No Replies

Javascript error a.browser is undefined

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

Senior Member

WebmasterWorld Senior Member 5+ Year Member

joined:Oct 25, 2006
posts: 1006
votes: 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.
[jquerytools.org...]
12:46 pm on Nov 20, 2013 (gmt 0)

Senior Member from LK 

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month

joined:Nov 16, 2005
posts: 2501
votes: 30


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)

Senior Member

WebmasterWorld Senior Member 5+ Year Member

joined:Oct 25, 2006
posts: 1006
votes: 0


jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license
6:05 pm on Nov 20, 2013 (gmt 0)

Senior Member from LK 

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month

joined:Nov 16, 2005
posts: 2501
votes: 30


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)

Senior Member

WebmasterWorld Senior Member 5+ Year Member

joined:Oct 25, 2006
posts: 1006
votes: 0


You mean
jQuery 1.9.1 Released will be fine?
9:05 am on Nov 21, 2013 (gmt 0)

Senior Member

WebmasterWorld Senior Member 5+ Year Member

joined:Oct 25, 2006
posts: 1006
votes: 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:
E.../ui.multiselect.js


How to avoid this issue?