form表单的提交按钮点击没反应
<divclass="introduce_box"><formid="loginForm"action="${base}/login/submit.jhtml"metho...
<div class="introduce_box">
<form id="loginForm" action="${base}/login/submit.jhtml" method="post">
<div class="int_tab_box">
<ul class="int_tab">
<li class="t_hover">用户名</li>
<li>证件号码</li>
<li>邮箱</li>
</ul>
</div>
<div class="int_content_box">
<div class="int_div_box order">
<ul class="address">
<li><input type="text" id="username" name="username" maxlength="${setting.usernameMaxLength}" placeholder="用户名" /></li>
<li><input type="password" id="password" name="password" placeholder="登录密码" /></li>
[#if setting.captchaTypes?? && setting.captchaTypes?seq_contains("memberLogin")]
<li class="li_yzm">
<input type="text" placeholder="验证码" size="10" id="captcha" name="captcha" class="ipt captcha" maxlength="4" autocomplete="off" /><img id="captchaImage" class="captchaImage" src="${base}/common/captcha.jhtml?captchaId=${captchaId}" title="${message("shop.captcha.imageTitle")}" />
</li>
[/#if]
</ul>
</div>
<label> </label>
<input type="submit" onclick="aa()" class="btn" value="${message("shop.login.submit")}"/>
</form>
</div> 展开
<form id="loginForm" action="${base}/login/submit.jhtml" method="post">
<div class="int_tab_box">
<ul class="int_tab">
<li class="t_hover">用户名</li>
<li>证件号码</li>
<li>邮箱</li>
</ul>
</div>
<div class="int_content_box">
<div class="int_div_box order">
<ul class="address">
<li><input type="text" id="username" name="username" maxlength="${setting.usernameMaxLength}" placeholder="用户名" /></li>
<li><input type="password" id="password" name="password" placeholder="登录密码" /></li>
[#if setting.captchaTypes?? && setting.captchaTypes?seq_contains("memberLogin")]
<li class="li_yzm">
<input type="text" placeholder="验证码" size="10" id="captcha" name="captcha" class="ipt captcha" maxlength="4" autocomplete="off" /><img id="captchaImage" class="captchaImage" src="${base}/common/captcha.jhtml?captchaId=${captchaId}" title="${message("shop.captcha.imageTitle")}" />
</li>
[/#if]
</ul>
</div>
<label> </label>
<input type="submit" onclick="aa()" class="btn" value="${message("shop.login.submit")}"/>
</form>
</div> 展开
- 你的回答被采纳后将获得:
- 系统奖励15(财富值+成长值)+难题奖励20(财富值+成长值)
2个回答
2015-01-15
展开全部
请把:
<form action="add.php" name="myform" method="POST" submit="return CheckPost();" >
改为:<form action="add.php" name="myform" method="POST" onsubmit="return CheckPost();" >
即把 submit="..." 改为 onsubmit=""
<form action="add.php" name="myform" method="POST" submit="return CheckPost();" >
改为:<form action="add.php" name="myform" method="POST" onsubmit="return CheckPost();" >
即把 submit="..." 改为 onsubmit=""
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |