Hi,
Is there way to navigate to another page?
Something like this:
Code:window.open('mypage.html'); // or document.URL='pypage.url';
Hi,
Is there way to navigate to another page?
Something like this:
Code:window.open('mypage.html'); // or document.URL='pypage.url';
found this solution:
Code:var link = Ext.getDom('hiddenLink'); // must be created first in html property // of any elemet as: //<a id="hiddenLink" target="_blank" href="" style="visibility:hidden;"><a/> link.href = url; var clickevent = document.createEvent("Event"); clickevent.initEvent("click", true, false); link.dispatchEvent(clickevent);
Much simpler:
Code:window.location = "url";
Need to open in another tab(as popup)![]()