这是我的脚本-我可以打开一个新的弹出页面,但无法获取要显示的字段Play的变量。 我的按钮位于名为play的每一行上,我想单击-转到名为-Play的字段,并在其中输入内容并打开弹出窗口。我的真实网站是 http://www.laurelcoc.com/lcc/lccabc/p/donindex.php观看操作,谢谢Don
$(document).on('click', '.play', function(){
var id = $(this).attr("id");
var Play = $(this).attr("Play");
window:open("[$Play]","LCCMM"," top=150, left=100,height=400, width=400,
scrollbars=no, resizable=yes,toolbar=no");
});