<html> <head> <title> index </title> <head> <body> <form name="form1" id="form1" method="post" action=""> 同步进行: <input type="text" name="textfiled" id="txt" onkeyup="javascript:document.getElementById('label_1').innerText = this.value"/> 这是同步的标签:<label id = "label_1"></label> <br/> <br/> 只允许输入数字(QQ的验证): <input type="text" id="txtQQ" name="textfield" onkeypress="return aa()"/> <br/> <br/> <label>*****************************************************************</label> <br/> <br/> <table> <tr> <td> <input type="checkbox" id="checkbox1" value = "大类" name="checkbox1"/>大类 <br/> <input type="checkbox" id="checkbox1" value = "中类" name="checkbox1"/>中类 <br/> <input type="checkbox" id="checkbox1" value = "小类" name="checkbox1"/>小类 <br/> </td> <td> <input type="button" id="check_1" name="check_1" value="提交"onclick="mycheck_1()"/> </td> <td> <textarea rows="9" cols="25" id="textarea_1" name="textarea_1"></textarea> <br/> </td> </tr> </table> <label>*****************************************************************</label> <br/> <br/> <label><input type="radio" id="radio1" name="radiogroup" value="男"/>男</label> <label><input type="radio" id="radio2" name="radiogroup" value="女"/>女</label> <input type="button" id="radio_1" name="radio_1" value="提交"onclick="myRadio_1()"/> <br/> <br/> <label><input type="radio" id="radio1" name="radiogroup_1" value="东"/>东</label> <label><input type="radio" id="radio2" name="radiogroup_1" value="西"/>西</label> <label><input type="radio" id="radio1" name="radiogroup_1" value="南"/>南</label> <label><input type="radio" id="radio2" name="radiogroup_1" value="北"/>北<label> <label><input type="radio" id="radio1" name="radiogroup_1" value="中"/>中<label> <input type="button" id="radio_2" name="radio_2" value="提交"onclick="myRadio_2()"/> <input type="text" name="textfiled" id="txtRadio" value=""/> <br/> <br/> <label>*****************************************************************</label> <br/> <br/> <!--select 单选框 Begin--> <label>select 单选框</label> <br/> <select name="select" size="1"id="danXuan" onchange="changeText()"> <option value="">--请选择--</option> <option value="我的秘书">我的秘书</option> <option value="我的工作台">我的工作台</option> <option value="项目管理">项目管理</option> <option value="计划管理">计划管理</option> <option value="企业管理">企业管理</option> </select> <input type="text" name="textfiled" id="select_danxuan" value=""/> <!--select 单选框 Begin--> <br/> <br/> <label>*****************************************************************</label> <br/> <label>select 多选框</label> <table> <tr> <td> <!--select 多选框b1 Begin--> <select size="2" multiple id="b1" style="height:151px; width:180px;"> <option value="我的秘书">我的秘书</option> <option value="我的工作台">我的工作台</option> <option value="项目管理">项目管理</option> <option value="计划管理"> 计划管理</option> <option value="企业管理">企业管理</option> </select> </td> <!--select 多选框b1 end--> <td> <!--select 多选框 button Begin--> <table> <tr align="center"><input type="button" value = " > " onclick="myRight()"/></tr> <tr align="center"><input type="button" value = " >> " onclick="myRightAll()"/></tr> <tr align="center"><input type="button" value = " < " onclick="myleft()"/></tr> <tr align="center"><input type="button" value = " << " onclick="myleftAll()"/></tr> <tr align="center"><input type="button" value = " ↑ " onclick="myup()"/></tr> <tr align="center"><input type="button" value = " ↓ " onclick="mydown()"/></tr> </table> <!--select 多选框 button end--> </td> <td> <!--另一个select 多选框b2 Begin--> <select size="2" multiple id="b2" style="height:151px; width:180px;"> </select> <!--另一个select 多选框b2 end--> </td> <td> <input type="button" id="select_duoxuan" name="select_duoxuan" value="确定" onclick="myselect_duoxuan()"> </td> <td> <textarea rows="9" cols="25" id="textarea" name="textarea"></textarea> </td> <tr> </table> <br/> </form> </body></html> 相关文章: