前后台交互(打开前端页面,不传递任何数据,发送ajax请求)

1.打开前端,不传递任何数据

<script src="./jquery.min.js"></script>
<script>
  $(document).ready(function() {
      $.ajax({
          'type':'get',
          'url':'index.php',
          'dataType':"json",
          'success':function(data){
          },
      })    
  });

 

posted on 2017-11-24 17:18  薇薇123456  阅读(171)  评论(0编辑  收藏  举报

导航