-1
請看我下面的鏈接http://jsfiddle.net/3908050/n6g33gqo/3/上的鏈接,我不知道帽子是布萊恩可能是因爲IAM新手爵士小提琴我簡單的js驗證工作,但在jsfiddle它不是爲什麼?
<form onsubmit='return formValidator()'>First Name:
<input type='text' id='firstname' />
<br />Address:
<input type='text' id='addr' />
<br />Zip Code:
<input type='text' id='zip' />
<br />State:
<select id='state'>
<option>Please Choose</option>
<option>AL</option>
<option>CA</option>
<option>TX</option>
<option>WI</option>
</select>
<br />Username(6-8 characters):
<input type='text' id='username' />
<br />Email:
<input type='text' id='email' />
<br />
<input type='submit' value='Check Form' />
</form>