showModalDialog()、showModelessDialog()方法时参数传递的问题
vReturnValue = window.showModalDialog(sURL [, vArguments] [, sFeatures])
vReturnValue = window.showModelessDialog(sURL [, vArguments] [, sFeatures])
其中sURL指定的是一个只包含iframe的页面,参考如下:
<iframe id=iframeContent name=contentIframe style="scroll:no;" frameborder=0 width=100% height=100% >
</iframe>
现在通过点击一个按钮,打开一个对话框,同时需要指定iframeContent.src的值和要提交到该页面的相应参数。也即如何把一个表单提交到对话框的iframe中
折腾了半天也没找到好的办法:(