<a href="javascript:void();" onclick="openWindow(2,1,4326,http://www.../images/icon_tree1.gif);">Edit Asset Info</a>
未调用函数 openWindow,我在控制台上看到以下错误
Uncaught SyntaxError: Unexpected token :
和
Uncaught SyntaxError: Unexpected token )
这是我正在使用的实际代码
return "<a href='javascript:void();' onclick='openWindow(" 2 "," + 1 + "," + 4326 + "," + symbolurl + ");'>Edit Asset Info</a>";