/ Published in: JavaScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
new Ajax.Request('test4/data/retrievePicasaData.php?bounds='+ picasabounds, { method:'get', requestHeaders: {Accept: 'application/json'}, onSuccess: function(transport){ var json = transport.responseText.evalJSON(true); alert(json); } });