Modify ↓
Ticket #5287 (closed bug: invalid)
Invalid label using getJson
| Reported by: | vickygoelk | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.4 |
| Component: | ajax | Version: | 1.3.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
Hi
I face invalid label problem when i am using the getJson method for reteriving the json that from url..
My code as follow:
jQuery(function(){
var url = " http://dictionarywideget.appspot.com/?callback=?&format=json&word=face"; jQuery.getJSON(url,function(data){
alert(data) });
});
In firebug "invalid label" error is appear. There is no doubt in url. it return json data. So please help me to find out the solution of this issue
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

I tried entering the url you gave manually and it does not return json. Please correct the url.