submit里面有onclick()事件,哪个先执行?是传值还是onclick()
<scriptlanguage="JavaScript"type="text/JavaScript"><!--functionMM_popupMsg(msg){//v1....
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_popupMsg(msg) { //v1.0
if(bbsContent.value=='')
alert(msg);
}
//-->
</script>
<input name="Submit" type="submit" onClick="MM_popupMsg('不能发空信息')" value="发贴">
这个无法弹出对话框是怎么回事? 展开
<!--
function MM_popupMsg(msg) { //v1.0
if(bbsContent.value=='')
alert(msg);
}
//-->
</script>
<input name="Submit" type="submit" onClick="MM_popupMsg('不能发空信息')" value="发贴">
这个无法弹出对话框是怎么回事? 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询