摘要:
后端:<?php$json_str=json_encode(array("ddd"=>"11111111"));echo$_GET['ja'].'('.$json_str.')';?>前端:$.getJSON('http://www.liushan.cn/test.php?ja=?',function(json){alert(json);});纯JS实现(JSONP)://serverreturnaa({'ddd':'ddd'})callba 阅读全文
posted @ 2011-03-07 15:16
liushan
阅读(562)
评论(0)
推荐(0)


浙公网安备 33010602011771号