Hi there,

try this one:-

<select name="application_monitor_id"
onfiltered="document.MonitorForm.submit()"> 

Hoep it will work.

Regards,
Buland

--- Sunil Sahu <[EMAIL PROTECTED]> wrote:
> Your code is right there may besome problem with
> your browser.
> 
> 
> -----Original Message-----
> From: Barnett, Brian W.
> [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, July 15, 2004 1:38 AM
> To: 'Struts Users Mailing List'
> Subject: RE [OT]: onsubmit form ERROR
> 
> Hmm. I've never seen that syntax, but that doesn't
> mean much. Here are the
> syntaxes I've seen:
> 
> document.MonitorForm.submit()
> document.forms[0].submit()
> document.forms["MonitorForm"].submit()
> 
> I've seen something as simple as a semi-colon at the
> end of javascript work
> wonders too :)
> 
> 
> 
> -----Original Message-----
> From: Isaac Mosquera [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, July 14, 2004 2:01 PM
> To: Struts Users Mailing List
> Subject: RE: onsubmit form ERROR
> 
> thanks, but that didn't work, it seems as though i'm
> getting a valid form 
> object because if use:
>           alert( document.forms.MonitorForm.name )
> and alert( 
> document.forms.MonitorForm.action )
> they both return the right output, however its just
> the submit() function 
> which gives me errors.
> -isaac
> At 12:45 PM 7/14/2004 -0700, you wrote:
> >Try document.MonitorForm.submit()
> >
> >-----Original Message-----
> >From: Isaac Mosquera [mailto:[EMAIL PROTECTED]
> >Sent: Wednesday, July 14, 2004 1:47 PM
> >To: [EMAIL PROTECTED]
> >Subject: onsubmit form ERROR
> >
> >i have the following piece of HTML/JavaScript and
> this problem happens
> >quite frequently but i dont know how to fix it.
> >
> >      <select name="application_monitor_id"
> >onchange="document.forms.MonitorForm.submit()">
> >
> >although there is a valid form with the name
> "MonitorForm" in the html page
> >i get this error:
> >
> >"object doesn't support this property or method"
> >
> >-isaac
> >
> >
> >
>
>---------------------------------------------------------------------
> >To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> >For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
>
>---------------------------------------------------------------------
> >To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> >For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
[EMAIL PROTECTED]


=====

Buland Altaf Malik,
Software Engineer, 
Softech System's(pvt)Ltd. 
10/25 asad jan road lahore,cantt - 54810 Pakistan
Tel: 92-42-6665812 , 92-42-6660802

Mob: 0333-4344113
Fax: 92-42-6665792

http://www.softech.com.pk
[EMAIL PROTECTED]




                
__________________________________
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
http://advision.webevents.yahoo.com/yahoo/votelifeengine/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to