<a href="javascript:void();" onclick="openWindow(2,1,4326,http://www.../images/icon_tree1.gif);">Edit Asset Info</a>
Function openWindow is not called and I am see the folowing error on console
Uncaught SyntaxError: Unexpected token : and
Uncaught SyntaxError: Unexpected token )
This is the actual code I am using
return "<a href='javascript:void();' onclick='openWindow(" 2 "," + 1 + "," + 4326 + "," + symbolurl + ");'>Edit Asset Info</a>";
http://www.unm.edu/~jka/courses/images/icon_tree1.gifis not a JavaScript string literal. Try again. (Hint: comparexwith'x')