Hi,
I'm using $.getJSON() to retrieve a Json file which I then use to populate a Google map via the version 3 api. All was working really well until I decided to neaten up my code for the final production of my site. Instead of using a url such as this:
- var url = 'http://www.blah.com/final/jsonserver/get_my_file.php?var1=13&var2=3
var propInfo = ''; $.getJSON(url,function(json){ $.each(json.properties,function(i,blah){
I now (because I'm using the CodeIgniter framework) have a prettier url like this:
- var url = 'http://www.blah.com/final/jsonserver/properties/13/3
var propInfo = ''; $.getJSON(url,function(json){ $.each(json.properties,function(i,blah){
Whilst Firefox and other browsers don't seem to have a problem finding the file (which is on the same server by the way) and parsing it for later use, Internet Explorer (all versions from what I can see) doesn't like the it. Does IE *need* to see the ? and variables for this to work or must I have made some other unknown error when I re-wrote my script? Any thoughts or suggestions appreciated,
cheers,
Mike