Change it to something like this, where your_form_name is the name attribute
you defined in your action mapping. Your notation doesn't work because it's
trying to find a form that is a property of the select element.
html:select property=organizationName
onchange=document.your_form_name.submit()
The javascript bible says that select does not have the form property.
You have to probably pass the form ID as a parameter.
--
Peter Pilgrim ++44 (0)207-545-9923
//_\\
Mathematics is essentially the study of islands of
onchange=this.form.submit()
Here 'this' means the select object(drop down),
You can say, document.form.submit()
OR
simply onchange=submit()
-Original Message-
From: Ravi Kharse [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 20, 2001 12:44 AM
To: [EMAIL PROTECTED]
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 20 November 2001 11:11
To: [EMAIL PROTECTED]
Subject: RE: Java script submit on select from drop down
Change it to something like this, where your_form_name is the name
attribute
you defined in your action mapping. Your
4 matches
Mail list logo