Categories | Question details Back To List | ||
link does not work on javascript with arguments Link_name^javascript:openExportTree('21175',Link_name','3')^_self. I use the link cell type and is not working properly on javascript function call with arguments! By the way I use JSON to load my grid. It is working fine with javascript function without argument but I think it make sense to also make it work on function with arguments right? I tried to use <a> anchor tag but the problem is, is in the sorting. Here's what firebug console shows when the link above is parsed <a onclick="(_isIE?event:arguments[0]).cancelBubble = true;" target="_self" )="" 3="" ,="" Link_name="" 21175="" href="javascript:openExportTree(" title="javascript:openExportTree(">Link_name</a> and here's a function that don't have arguments <a onclick="(_isIE?event:arguments[0]).cancelBubble = true;" target="_self" href="javascript:openExportTree()" title="javascript:openExportTree()">EOB_ACES_DEMO</a> Please don't tell me to change the loading format to XML as we are doing JSON all the way. Please help, I have deadlines and sorry to say but this is becoming a frustration. Thanks Answer posted by dhxSupport on Dec 03, 2009 02:04 To fix this issue you should use double quotes at the function parameters: Link_name^javascript:openExportTree("21175","Link_name","3")^_self. |