<td>sss<input type="hidden" value="aaa"/></td>怎么取sss
解决方案 »
- 层自适应高度
- 求QQ邮箱弹出DIV窗口效果
- 怎么用javascript改变div标签的位置
- showModalDialog问题!在线等!
- 在线等待:关于控制层CCS的问题,实在搞不懂了,谢谢各位进来看看。
- 高手请进,请问如何用javascript动态修改下拉列表框中的条目
- <input type=image src="...">如何让鼠标移上去的时候换个图片?
- 一个关于框架页面frame之间JS函数调用的问题
- 请问哪里有“日期选择的控件”的javascript 源代码?非常急!在线等!谢谢!!!
- 关于下拉框的问题?
- 如何实现select列表拖拉效果
- 使用javascript实现隐藏和显示的问题
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
</head>
<body>
<table>
<tr>
<td>
sss<input type="hidden" value="aaa" />
</td>
</tr>
</table>
<script type="text/javascript">
var textVal = $('td')[0].firstChild.nodeValue;
alert(textVal.trim());
</script>
</body>
</html>