function doReport() {
dom = document.ReportForm;
window.open('欲新開網頁路徑','ReportForm','toolbar=no,directories=no,status=no,menubar=no,resizable=1,scrollbars=1,width=700,height=700');
dom.submit();
}
"form"裏;
action="欲新開網頁路徑" method="post" name="ReportForm" target="ReportForm"
input onclick="doReport()" type="button" value="確定"
這樣就可以把form裡的值傳到新視窗了...XD
參考;http://www.blueshop.com.tw/board/show.asp?subcde=BRD20060619144453JTO&fumcde=FUM200410061525290EW
沒有留言:
張貼留言