只需一步,快速开始
<script> function register(show_id, result) { if(result) { $('registersubmit').disabled = true; window.location.href = "space.php?do=home"; } else { updateseccode(); } }
function checkagree() { frm=document.forms[0] if(frm.checkbox.checked) { frm.registersubmit.disabled = false; document.getElementById('registersubmit').className = 'submit'; } else { frm.registersubmit.disabled = true; document.getElementById('registersubmit').className = 'submitdisable'; } }
<tr><th> </th> <td> <input type="hidden" name="refer" value="$ref" /> <input type="submit" id="registersubmit" name="registersubmit" value="注册" class="submit" onclick="ajaxpost('registerform', 'registerstatus', 'register')" tabindex="6" /> </td> </tr>
<tr><th> </th> <td> <input id="checkbox" name="checkbox" type="checkbox" value="checkbox" checked="checked" onclick="checkagree();" /> 我已经阅读并同意 <a href="agreement.php" target="_blank">使用协议</a> 及 <a href="privacy.php" target="_blank">隐私政策</a>。 </td> </tr>
查看全部评分
kongkang
donghai
茄子
使用道具 举报
本版积分规则 发表回复 回帖后跳转到最后一页
手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )
GMT+8, 2024-11-15 14:56 , Processed in 0.029008 second(s), 4 queries , Gzip On, Redis On.
Powered by Discuz! X3.4
Copyright © 2001-2023, Tencent Cloud.