//打開新頁面并利用post方式傳遞參數 function openNewPageWithPostData(postAddress,opentype,paramNames,paramValues) { var newWindow = window.open(postAddress,opentype); if (!newWindow) { return false; }
var postDataHtml="<html><head></head><body>"; postDataHtml = postDataHtml + "<form id='postDataForm' method='post' action='"+postAddress+"'>";