How can i use a javascript function eval in GDownloadUrl - by user308091 example: function getGeoInfo(q) { GDownloadUrl("search.php?q="+q, function(data) { eval(data); }); } Read the article