I have a php page that encodes and array to json
how do I read the json response in javascript using onLoad?
here is the link to the json data
Code:
$array = array("name"=>"timmy", "age"=>"34");
$str = json_encode($array);
echo $str;
how do I read the json response in javascript using onLoad?
here is the link to the json data