具有可变url的Window.open ---我尝试过并且尝试过尝试-请指出正确的方向

时间:2019-02-23 05:43:12

标签: javascript ajax

这是我的脚本-我可以打开一个新的弹出页面,但无法获取要显示的字段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");
   });

0 个答案:

没有答案