在报表中有多个超链接,每次点击超链接时,网页在新标签页中打开, 是否可以在一个选项卡而不是多个使用JavaScript的选项卡中打开超链接? 在同一个标签页中打开多个网页
我目前使用window.open打开网页请帮帮忙,我不能使用目标。下面是代码:
I basically have a jqgrid where all the values of a column have hyperlink,
if (GridColNum == 2) //index of the column
{
localStorage.valuekey = $('#filters_grid').jqGrid('getCell', GridRowId, 1);
window.open('http://mywebpage.html');
}
,我使用本地存储功能
冷静,你在哪里得到从源? – blackhawk
@blachawk,[它在HTML规范(http://www.w3.org/html/wg/drafts/html/master/single-page.html#attr-hyperlink-target)。 – zzzzBov
刚编辑我的问题,对不起,粘贴 – Suri