<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<script src="jquery.js"></script>
<script>
$.ajax({
url:'http://localhost/jsonp/server.php',
dataType: 'jsonp',
success: function(res){
console.log(res)
}
})
</script>
</body>
</html>
jquery发送jsonp请求
猜你喜欢
转载自blog.csdn.net/u011523953/article/details/104325198
今日推荐
周排行