//스크립트
$("#join_btn").on("click",function(){
console.log("11");
var arr = []
arr = $(".choice");
var input_hidden = document.createElement("input");
input_hidden.type = "hidden";
input_hidden.name = "test";
input_hidden.value = "test";
document.eventIstUdtForm.appendChild(input_hidden);
});
//html 일부분
...
<body>
<form name="eventIstUdtForm"></form>
...
댓글 없음:
댓글 쓰기