单击“提交”(验证)时,输入(值)保持在同一页面上
http://lab.iamrohit.in/cvalid/ 代码
<form action="" method="post">
<select name="type">
<option value="American">American Express</option>
<option value="Dinners">Diner's Club</option>
<option value="Discover">Discover</option>
<option value="Master">Master Card</option>
<option value="Visa">Visa</option>
</select>
<input type="text" name="cNum">
<button type="submit">Submit</button>
</form>
单击提交后,输入保留在文本框中