以当前页面跳转到百度页面为例,参数名为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>