kangaloo1971
Programmer
I'm trying to change the display responding to the selected option in the selected box, and wrote the following code:
..<head><script language="JavaScript">
function selectGroup() {
document.formname.submit()
}
</script>..
..<form name="formname"..>..
..<select name="group" onChange="selectGroup( )">..
Whenever I try to change the display by selecting certain option, I get a message "Object doesn't support this property or method." I tried several other things, including to change document.formname.submit() to this.form.submit(), which gave me a msg "this.form is null or not an object.". Could anyone help me out to solve this problem?
..<head><script language="JavaScript">
function selectGroup() {
document.formname.submit()
}
</script>..
..<form name="formname"..>..
..<select name="group" onChange="selectGroup( )">..
Whenever I try to change the display by selecting certain option, I get a message "Object doesn't support this property or method." I tried several other things, including to change document.formname.submit() to this.form.submit(), which gave me a msg "this.form is null or not an object.". Could anyone help me out to solve this problem?