In easyUI, window.location.href=url; how to jump to a new tab instead of refreshing on the original tab?
巴扎黑2017-05-17 10:03:05
Open a new tab page
parent.window.createTab("title of the new page", url);
Close the current tab page
parent.$(".easyui-tabs").tabs('close', "Current tab Page title");
某草草2017-05-17 10:03:05
Theoretically, the creation of tabs is the permission of the browser, not the permissions of the page. There is a horizontal relationship between tab pages. .
Even if you can create it, you may still encounter compatibility issues, so it is recommended to use the target method of the a tag to trigger it