struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bart Moberts" <>
Subject Re: document.testbean.submit is not a function
Date Thu, 01 Jan 1970 00:00:00 GMT

Hello John

>From: (John Miaso)
>Subject: document.testbean.submit is not a function
>Date: Wed, 09 May 2001 08:27:24 -0600
>I've modified the html-select.jsp example to include the script:
>function cbChanged() { document.testbean.cbSearch.value = "Search"
>                        document.testbean.submit()
>I'm setting a hidden property so that I can fill a select elements options 
>the Action peroform method based on the selection made in another select
>element. When I do this I get the JSP error: document.testbean.submit is 
>not a

Isn't that a JavaScript error?

I got this error when I tried to submit a form using a link. I removed all 
the regular submitbuttons and then it worked.

>I get the same result if I try to send reset rather than submit. Is 
>unaware of the submit button property? Is there a better way to approach 
>John Miaso

Grtz Bart
Get Your Private, Free E-mail from MSN Hotmail at

View raw message