打开一个新的窗口
window.open("update_role_menu.html?id=" + id+"&&org_name="+org_name);
获取 选择的一行table
var date = $table.bootstrapTable("getSelections")[0];
获取 URL上带的参数
var type = $.cordys.utils.getUrlParameter("type");
刷新 父窗口
window.opener.loadTable();
本文介绍了一个使用JavaScript实现的操作表格行选择、获取URL参数并刷新父窗口的功能。通过实例展示了如何使用window.open、$.bootstrapTable的getSelections方法、$.getUrlParameter以及window.opener的loadTable方法来完成这一任务。
976

被折叠的 条评论
为什么被折叠?



