<html:radio property="sex" value="0" name="CountryForm"/> 男
<html:radio property="sex" value="1" name="CountryForm"/> 女可以还原单选的内容,请问谁知道多选和下拉菜单怎么还原。?

解决方案 »

  1.   

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <title>无标题文档</title>
    </head><body>
    <form id="form1" name="form1" method="post" action="">
      <label>
      <input type="checkbox" name="checkbox" value="checkbox" />
      </label>
      <input type="checkbox" name="checkbox2" value="checkbox" />
      <input type="checkbox" name="checkbox3" value="checkbox" />
      <input type="checkbox" name="checkbox4" value="checkbox" />
      <br />
      <label>
      <select name="select">
        <option>1111</option>
        <option>22222</option>
        <option>3333333</option>
      </select>
      </label>
      <br />
      <label>
      <input type="reset" name="Submit" value="重置" />
      </label>
      <input type="button" name="Submit2" value="按钮" onclick="javascript:this.form.reset()"/>
      <br />
    </form>
    </body>
    </html>