weixin_33749131 2016-01-06 06:25 采纳率: 0%
浏览 4

警报中的Ajax响应

I have a test.php file as:

<?php
    header('Content-type: application/json');
    $json_array = array();
    $json_array['success']='1';
    echo json_encode($json_array);
?>

On an input button click response needed in an alert.

 <input type="button" id="btnSubmit" value="AJAX Request" />
  • 写回答

0条回答 默认 最新

    报告相同问题?