javascript 更改网页对象动作方法 如 onclick
摘要: setobj.onclick = new Function("wizard_setparams(this)");
阅读全文
posted @
2009-12-25 16:29 白开水皮皮 阅读(24) |
评论 (0) 编辑
table height=100% 不起作用
摘要: 只需要在<td> 里加入 height=1 即可[html]<html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>无标题文档</title></head><body><table...
阅读全文
posted @
2009-12-17 12:33 白开水皮皮 阅读(841) |
评论 (0) 编辑
关于 getElementsByTagName
摘要: 对于 getElementsByTagName可以是:function Callback_subtab6_init(xml){ xml.getElementsByTagName("timebandtype")[0].childNodes[0].nodeValue;}也可以是:var listDevice = xmlResponse.getElementsByTagName("device");f...
阅读全文
posted @
2009-12-15 10:35 白开水皮皮 阅读(74) |
评论 (0) 编辑
html内通过parentNode来得到上级对象,与此对应的,还有childNodes[x]得到下级对象
摘要: 但是对于表格要注意,在<table>和<tr>之间还有一个<tbody>,即使你在构建<table>时没有使用这个<tbody><table> <tr> <td> <input type='button' value='click' onclick='deleteItem(thi...
阅读全文
posted @
2009-12-15 09:32 白开水皮皮 阅读(177) |
评论 (0) 编辑