给表格对象一个ID(可以是表格、列、行),用childNodes 取innerHTML值。
Syntax[ oColl = ] object.childNodes
[ oObject = ] object.childNodes(iIndex) Possible ValuesoColl Array containing the children of a specified object.
oObject Reference to an individual item in the array of elements contained by the object.
iIndex Required. Integer that specifies the zero-based index of the item to be returned.
Syntax[ oColl = ] object.childNodes
[ oObject = ] object.childNodes(iIndex) Possible ValuesoColl Array containing the children of a specified object.
oObject Reference to an individual item in the array of elements contained by the object.
iIndex Required. Integer that specifies the zero-based index of the item to be returned.
解决方案 »
- CSS在IE中显示不正确。在线=答案,急
- 在JB里,如何把.java编译后的.classes文件,会自动加入到WEB-INFO/CLASSES里?
- 单位的JSP网站可把我折磨了~~~~~求助!
- 关于java和身份验证
- 请教:JavaBean构造函数的参数传递问题
- 菜鸟提问, Iterator是个什么样的东东?很快接分!
- CSDN没有高手吗?Tomcat406,通过servlet获取数据库中的Blob,返回给客户端出错!如果解决了400分全是你的!
- 一个连接数据库BEAN问题中间有一部分代码非要我抛出为什么啊???需要解释啊
- Jsp与oracle 9i
- 象http://www.ioffice.net.cn/ioffice/prg/he/test.aspx的RichTextEditor控件jsp的哪里里有谢谢
- 初学jsp,简单javabean都报错。。
- 关于servlet
之后直接就用request.getParameter()去取值
实现参考: HashMap map=new HashMap();
map.put("key1","obj1");
map.put("key2","obj2");
map.put("key3","obj3");
String s=(String)map.get("key2");//s="obj2"
map.put("key2","myobj2");
String s1=(String)map.get("key2");//s1="myobj2"