---------------------- Windows Phone 7手机开发、.Net培训、期待与您交流! ----------------------
访问<form name="myForm"> 表单中文本框的值<input type="text" name="userName" />
JS中访问:
Document..myForm.userName.value;注:这种访问方式<form> 元素中不能有 runat="server",不知道原因,请知道的帮忙补充下
或
Document.getElementById("name").value;
---------------------- Windows Phone 7手机开发、.Net培训、期待与您交流! ----------------------
详细请查看:http://net.itheima.com/