在window.open()中执行POST

我正在尝试打开一个弹出窗口,我想在打开时使用post方法发送数据。 谁能帮我。

我收到"Uncaught syntax error. Unexpected token }"

 function MapIt(){ var ListIds = selected_Listings.join(); if (navigator.appName == "Microsoft Internet Explorer") { var opts = "screenX=0,screenY=0,width=" + screen.width + ",height=" + screen.height; } else { var opts = "outerWidth=" + screen.availWidth + ",outerHeight=" + screen.availHeight + ",screenX=0,screenY=0"; } var urlStr = "http://www.dev.theabc.com/bingmaps/Map "; $('
').submit(); }

知道你真的不想要一个post。

           

然后在你的opener.html中

          

请注意,如果您在本地运行,则在某些浏览器( Chrome for one )中存在安全异议

实际上……你的语法forms错误它应该是这样的

 $('
').submit();

你必须逃避“在弦内……哦,在选择之后失去了昏迷……