提交FUNCTION参数问题(如何把changelocation1(xmmc)中的xmmc传递到另一页面中去)
部分代码:
<form id="addform" name="addform" method="post" action="2.asp">
.........
<select name="xmid" onChange="changelocation1(document.addform.xmid.options[document.addform.xmid.selectedIndex].value)">
..............
<script language = "JavaScript">
........
function changelocation1(xmmc)
{
document.addform.pbid.length = 0;
var i;
document.addform.pbid.options[0] = new Option('......请选择评比内容......','');
for (i=0;i < onecount1; i++)
{
if (subcat1[i][1] == xmmc)
{
document.addform.pbid.options[document.addform.pbid.length] = new Option(subcat1[i][0], subcat1[i][2]);
}
}
}
</script>
以上功能实现了,但如何把changelocation1(xmmc)中的xmmc传递到另一页面中去?
请教。