Javascript examples for jQuery:Json
Retrieve place_ID from Json
<html> <head> <title>JSON.stringify Examples</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/javascript" src="https://code.jquery.com/jquery-1.9.1.js"></script> <script type="text/javascript"> $(function(){//from w w w.j a v a 2 s . co m var varPlace = { "result" : "Some", "place_id" : "aaa" }; var varPlaceID = varPlace.place_id; console.log(varPlaceID); }); </script> </head> <body> </body> </html>