導讀:<script language='javascript'> function Checkfeedback() { ...
<script language='javascript'>
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? function Checkfeedback() {
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? if (document.myform.name.value.length == 0) {
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? alert('您的姓名 不能為空');
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? document.myform.name.focus();
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? return false;
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? }
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? if (document.myform.qq.value.length == 0) {
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? alert('QQ號碼 不能為空');
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? document.myform.qq.focus();
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? return false;
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? }
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? if (document.myform.email.value.length == 0) {
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? alert('email 不能為空');
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? document.myform.email.focus();
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? return false;
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? }
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? if (document.myform.tel.value.length == 0) {
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? alert('手機 不能為空');
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? document.myform.tel.focus();
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? return false;
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? }
?
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? }
? ?</script>
?
<form action="http://127.0.0.1/plus/diy.php" method="post"
? ? ? ? ? ? ? ? ? ? ? ? ? ? name='myform' onSubmit='return Checkfeedback();'>