以當前頁面跳轉到百度頁面爲例,參數名爲requestParam
<html>
<head>
<script>
function redict(){
document.redictForm.submit();
}
</script>
</head>
<body>
<form name="redictForm" action="http://www.baidu.com" method="post">
<input type="hidden" name="requestParam" value="1234">
</form>
<a onclick="redict()">跳轉</a>
</body>
</html>