代码如下:var myForm = document.createElement(“form”); myForm.method=”get” ; myForm.action = “line_ticket.aspx” ; var myInput = document.createElement(“input”) ; myInput.setAttribute(“name”, “id”) ; myInput.setAttribute(“value”, idStr); myForm.appendChild(myInput) ; var myInput2 = document.createElement(