wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes $.getJSON() bugs in jQuery 1.2.2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "$.getJSON() bugs in jQuery 1.2.2" Watch "$.getJSON() bugs in jQuery 1.2.2" New topic
Author

$.getJSON() bugs in jQuery 1.2.2

Bryce Martin
Ranch Hand

Joined: Nov 19, 2007
Posts: 269
Tony informed me that the new jQuery 1.2.2 is having a few bugs relating to $.getJSON(). He advised doing $.ajax() and then an eval{} when using 1.2.2. Is the speed increase in 1.2.2 worth the trouble of doing it the old way or should I just use the older version until they get the kinks worked out of the new one?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60774
    
  65

If they're having issues with 1.2.2 (I'll see if I can get that corroborated) I'd advise just using 1.2.1 for now. I would not punt back to doing eval().


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60774
    
  65

Are you using absolute URLs for you getJSON() call?
Bryce Martin
Ranch Hand

Joined: Nov 19, 2007
Posts: 269
Are you using absolute URLs for you getJSON() call?


I might be new to this, but not THAT new!
 
jQuery in Action, 2nd edition
 
subject: $.getJSON() bugs in jQuery 1.2.2
 
Similar Threads
Best way to load data file into an array
Undefined on jQuery Ajax Request
AJAX or AJAX Framework
* Winners: jQuery In Action
Comments on my Design (UML Diagrams)