function GotoWatchTicketCode() { var orderID='@ViewBag.OrderInfo.OrderID'; var phoneNum='@ViewBag.OrderInfo.CustomerPhone'; var codes = @Html.Raw(Json.Encode(ViewBag.OrderInfo.TicketCodes)); var pra = new Object(); pra.OrderID = orderID; pra.PhoneNum…
一.jQuery Form的其他api 1. formSerialize 将表单序列化成查询串.这个方法将返回一个形如: name1=value1&name2=value2的字符串.是否可以连环调用: 否, 这个方法返回的是一个字符串. 例子: var queryString = $('#myFormId').formSerialize(); // the data could now be submitted using $.get, $.post, $.ajax, etc $.post(…