Return to Snippet

Revision: 4245
at November 13, 2007 10:24 by arcturus


Initial Code
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);
	  }
	});

Initial URL

                                

Initial Description

                                

Initial Title
Simple ajax request with prototype and json

Initial Tags
javascript, json

Initial Language
JavaScript