<html>
<head>
<script src="jquery-1.12.0.min.js"></script>
<script>
$.ajax({
url : "json.php",
type : "GET",
dataType : "json",
data : {get_param : 'value'},
success : function(data){
var data = data;
alert(data[0]["data"]["token"])
}
});
</script>
</head>
<body>
</body>
</html>
<head>
<script src="jquery-1.12.0.min.js"></script>
<script>
$.ajax({
url : "json.php",
type : "GET",
dataType : "json",
data : {get_param : 'value'},
success : function(data){
var data = data;
alert(data[0]["data"]["token"])
}
});
</script>
</head>
<body>
</body>
</html>
Comments
Post a Comment