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");