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…
代码如下: <script type="text/javascript"> // 获取指定form中的所有的<input><select>对象 function getElements(formId) { var form = document.getElementById(formId); if(form == null){ return false; } var elements = new Array(); var inputTagElemen…
js代码: // form 跳转 gotourl//跳转的页面 options json格式参数 function FromGoTo(gotourl, options) { var inputhtml = ""; for (var attr in options) { var inputname = attr; var inputvalue = options[attr]; inputhtml += "<input style=\"visibility: hi…