摘要:
//点击图片跳转到b页面 并将参数data传到b页面<a href="urlb?data=1"><img src="1.jpg"/></a>//在b页面接收a页面传过来的参数<script>var data = window.location.href.split("?")[1].split("=" 阅读全文
摘要:
var rexiao = data.data.rexiao; var rexiaoText = ''; for (var i = 0; i < rexiao.length; i++) { if (rexiao[i].price == undefined) { rexiao[i].price = '0 阅读全文
摘要:
ajax请求: $(document).ready(function() { $.ajax({ type: "POST", url: url + "appapi/index/indexlist", data: {}, dataType: "json", success: function(data) 阅读全文