obj.toString()错了

来源: 2005-09-12 17:49:05 [旧帖] [给我悄悄话] 本文已被阅读:

你点的单词不是node a的,而是node a的子node的。两种改法:

1、window.open("test2.html?"+obj.firstChild.toString(),"sw");

2、window.open("test2.html?"+obj.innerHTML,"sw");