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");
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
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");
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