obj.toString()錯了
你點的單詞不是node a的,而是node a的子node的。兩種改法:
1、window.open("test2.html?"+obj.firstChild.toString(),"sw");
2、window.open("test2.html?"+obj.innerHTML,"sw");
你點的單詞不是node a的,而是node a的子node的。兩種改法:
1、window.open("test2.html?"+obj.firstChild.toString(),"sw");
2、window.open("test2.html?"+obj.innerHTML,"sw");