下拉列表,帮忙看看有没有错误
<script language="javascript"> function FormHeadler(){
var url="?page="+document.ps.selectPs.options[document.ps.selectPs.selectedIndex].value+"&action=<%=request("action")%>";
window.location.href=url;
}
</script>
<form name="ps">
<select name="selectPs" id="Class" onChange="FormHeadler() ">
<%for i=1 to rc.pagecount%>
<option value="<%=i%>"><%=i%></option>
<%next%>
</select>
</form>