|
- function checkJieshu()
- {
- // 创建一个 form
- var form1 = document.createElement("form");
- form1.id = "ttasp_jie";
- form1.name = "ttasp_jie";
-
- // 添加到 body 中
- document.body.appendChild(form1);
-
- // 创建一个输入
- var input = document.createElement("input");
- // 设置相应参数
- input.type = "text";
- input.name = "ttasp_memberID";
- input.value = $("#memberID").val();
- form1.appendChild(input);
-
- input.type = "text";
- input.name = "ttasp_isbn";
- input.value = $("#code_box").val().replace(/\n/g, "<br//>");
- form1.appendChild(input);
- form1.method = "POST";
- form1.action = "jie.asp?act=jieshu";
- form1.submit();
- document.body.removeChild(form1);
- }
- </script>
复制代码 |
|