Menu
i am writing string in jsp like below
[code]
str = str +
“<a href=”javascript:setCurrentTreeId(‘”+this.id+”‘);” + this.action + “” id=”” + this.id + “-anchor” onfocus=”” onblur=”webFXTreeHandler.blur(this);” onClick=”hcl(‘”+this.action+”‘);”” +
(this.target ? ” target=”” + this.target + “”” : “”) +
“title=”” + tooltip + “”” +
“>” + label + “</a></div>”;
its always throwing an javascript error “)” is expected at the onClick function. i don find where i am going wrong. plz suggest me here.
thanks