【发布时间】:2013-05-31 13:41:16
【问题描述】:
报告中有多个超链接,每次点击超链接时,网页都会在新标签页中打开, 是否可以使用 javascript 在仅一个选项卡而不是多个选项卡中打开超链接? 请帮忙
我目前正在使用 window.open 打开网页,我无法使用 target。下面是代码:
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');
}
我正在使用本地存储功能在另一个页面中使用单击的值
【问题讨论】:
标签: javascript html