Yes, I had the button named "submit" and after removed it, everything worked beautifully!
I appreciate tsdragon + others for your wonderful advises.
I get "Object doesn't support this property or method."on document.formname.submit(), as well as document.forms.formname.submit().
formname seems valid. I checked it using alert() method (instead of submit()) and got the correct field value via formname.
I kinda followed Daft69's...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.