반응형
변수를 자바스크립트로 보낼 때
<input type="button" value="버튼" onClick="go('<%= value %>')">
<input type="button" value="버튼" onClick="go('${value}')">
자바스크립트에서 폼에 입력된 값 받아오기
var aaa = document.formname.name.value;
반응형
변수를 자바스크립트로 보낼 때
<input type="button" value="버튼" onClick="go('<%= value %>')">
<input type="button" value="버튼" onClick="go('${value}')">
자바스크립트에서 폼에 입력된 값 받아오기
var aaa = document.formname.name.value;