<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) {
window. location.href ='dShopCart.aspx';
}
});
});
});
</script>
如果要传递参数则window.location.href =
'dShopCart.aspx?id='
+id;