用AJAX向一个页面传值和跳转该页面,值是变量
<script type="text/javascript" >
$(document).ready(function () {
$(".btnOrder1").click(function () {
var id = $(this).attr("title");
var oper = "check";
$.ajax({
type: "post",
url: "dMenuPage.aspx",
data: "&id=" + id ,
dataType: "Text",
success: function (data) {
location.href ='dShopCart.aspx';
}
});
});
});
</script>
怎么 把id传给dShopCart.aspx啊