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