-
Recent Posts
Recent Comments
Archives
Categories
Meta
Monthly Archives: October 2010
Parsing JSON results in jQuery Ajax
in Javascript: $.ajax({ type: “POST”, url: “test.php”, data: {var1:”var1″, var2: “var2″}, success: function (data) { var objResponse = $.parseJSON(data); alert(objResponse.success); // Result : true }, dataType:”JSON” }); in PHP test.php $response = array(“success” => true); print json_encode($response);
Posted in jQuery
Leave a comment
Create static Google Map
http://maps.google.com/maps/api/staticmap?center=zipcode&zoom=11s&size=250×250&markers=color:blue|label:A|address,city,state&sensor=false
Posted in Google API
Leave a comment
Radio button values in jquery
$(“input[name=’radio_name’]:checked”).val();
Posted in jQuery
Leave a comment