一个调用script的问题。
在jspPage上:
<input type= "button " onclick= "theNext() "/>
<script>
function theNext(){
document.formName.hiddenName.value=2;
document.formName.submit();}
</script>
我想把theNext()的内容用一个串表示。就是这样:
<input type= "button " onclick= "theNext()的内容都写在这 "/>
我要怎么写这句话。谢谢。
[解决办法]
非常规问题,见识下
[解决办法]
<input type= "button " onclick= "document.formName.hiddenName.value=2;document.formName.submit(); "/>
[解决办法]
<input type= "button " onclick= "document.formName.hiddenName.value=2; "/>