I need to call javascript function from Qlikview application table or at least open links in the same or parent window.
Calling javascript function:
1. JS macros don’t run on server 2. By creating link in expression e.g.: ‘run js <url> javascript:functionName();‘ we get: <a href=”javascript:functionName();” target=”_blank”> run js</a> which doesn’t work in IE and opens new window. We are able to change it in opendoc.htm file using javascript and remove or change the target attribute, but it is not good and stable solution in our opinion.
My question is: How is it possible to remove target=”_blank” from Qlikview application links, or to call javascript function from onclick event.
We need to achive something like this: ‘run js <url target=”_top”>run js’ or better: ‘run js<url onclick=’functionName(); return false;’>#’
In html: <a href=”#” onclick=’functionName(); return false;’>run js</a> or <button onclick="functionName();">run js</button>