请教一个文本标签的问题,解决后马上给分! <label value="" name="" id="LabelID">xxxx</label>脚本访问LabelID.innerText就是"xxxx"了. 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 下面是文本框<input type=text style="border:1px solid"><br><input type=text style="border:0px solid"> <style>.txtCustom1 { height: 20px; width: 100px; border-color: #000000; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; font-size: 9pt; background-color: #FFFFFF; color: #000000}.txtCustom2 { height: 20px; width: 100px; border-color: #000000; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; font-size: 9pt; background-color: #FFFFFF; color: #000000}</style><table border=1><tr align=center><td><INPUT type="text" name="txt1" value="现有数量" size=10 readOnly class="txtCustom1"></td><td><INPUT type="text" name="txt2" value="领出数量" size=10 readOnly class="txtCustom1"></td></tr><tr><td><INPUT type="text" name="txt3" value="50" size=10 class="txtCustom2"></td><td><INPUT type="text" name="txt4" title="请输入领出量" size=10 class="txtCustom2"></td></tr><tr> <td colspan=2 align="center"><input type=button name="confirm" value="确定" onclick="alert (txt3.value)"></td></tr></table> 多谢。请问可以像表单一样传递label变量到下一个action页面吗?马上给分! label 不能把值通过提交的方法传递到下一个页面 ,你可以用text 或hidden等方式 记录它再传值 jquerytrain 想能按时间查询图片的功能 40分 javascript里面怎么判断浏览器的版本 高手快来看看还是状态栏的问题,我禁止后在自己的机器上看不到,传到服务器就看到了,怎么办啊? 在火狐FF下这个JS为什么没用? 各位达人给我看下这个JS什么错误。(50分求助),急,在线等 弱弱一问,关于 window.onload 求救 请问ONCLICK可否改成下面的方法?? 请问在提交表单之前使用JS如何将整个Select表单中的选项全部选中? 怎样点一个按钮同时提交2个表单到1.asp 求CSDN的属性结构代码 javascript技术问题???
<input type=text style="border:1px solid">
<br>
<input type=text style="border:0px solid">
.txtCustom1 {
height: 20px;
width: 100px;
border-color: #000000;
border-top-width: 0px;
border-right-width: 0px;
border-bottom-width: 0px;
border-left-width: 0px;
font-size: 9pt;
background-color: #FFFFFF;
color: #000000
}
.txtCustom2 {
height: 20px;
width: 100px;
border-color: #000000;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
font-size: 9pt;
background-color: #FFFFFF;
color: #000000
}</style>
<table border=1>
<tr align=center><td>
<INPUT type="text" name="txt1" value="现有数量" size=10 readOnly class="txtCustom1">
</td>
<td>
<INPUT type="text" name="txt2" value="领出数量" size=10 readOnly class="txtCustom1">
</td></tr>
<tr><td>
<INPUT type="text" name="txt3" value="50" size=10 class="txtCustom2">
</td>
<td>
<INPUT type="text" name="txt4" title="请输入领出量" size=10 class="txtCustom2">
</td></tr>
<tr> <td colspan=2 align="center">
<input type=button name="confirm" value="确定" onclick="alert (txt3.value)">
</td></tr>
</table>
马上给分!