<!--
function onChange() {
if (document.forms[0].multipleSelect.value == "Value 1") {
document.forms[0].multipleSelect1.length = 0;
var options = document.forms[0].multipleSelect1.options;
var option = document.createElement("option");
option.text = "nanjing";
option.value = "nanjing";
options.add(option);
}
else if (document.forms[0].multipleSelect.value == "Value 0") {
}
}
//--><html:select property="multipleSelect" onchange="onChange()">
<html:options name="selectForm" collection="selectList" property="name"/>
</html:select>
function onChange() {
if (document.forms[0].multipleSelect.value == "Value 1") {
document.forms[0].multipleSelect1.length = 0;
var options = document.forms[0].multipleSelect1.options;
var option = document.createElement("option");
option.text = "nanjing";
option.value = "nanjing";
options.add(option);
}
else if (document.forms[0].multipleSelect.value == "Value 0") {
}
}
//--><html:select property="multipleSelect" onchange="onChange()">
<html:options name="selectForm" collection="selectList" property="name"/>
</html:select>
function changePage(){ var a;
a=trim(travelerMesgActionForm.pageControl.value);
travelerMesgActionForm.action="../WebModule1/listTravelerMesgAction.do?sql=<%=sql%>&&ger="+a;
travelerMesgActionForm.method="post";
travelerMesgActionForm.submit();
}
function trim(str){
if(str==null || str.length<1)
return str;
var i,j;
for(i=0;i<str.length;i++){
if(str.charAt(i)!=" ")
break;
}
for(j=str.length-1;j>=0;j--){
if(str.charAt(j)!=" ")
break;
}
if(i>=str.length)
i=0;
return(str.substring(i,j+1));
}
</script>