I have autosubmit set to false when I have the javascript code.  So when
I click the button, the action associated with the hiddenLink gets
executed but the action method associated with the button does not get
executed.  I want both
action methods to execute when I click the button without tabbing after
entering the zip in the input text box.

Thanks,

Veena

On 7/18/08, Andrew Robinson <[EMAIL PROTECTED]> wrote:
> Not sure what you are referring to. The auto submit will cause the zip
> code to POST the form, so your button will never be clicked. If you
> want to only submit as a result of a button press, then set auto
> submit to false.
>
> On Fri, Jul 18, 2008 at 2:12 PM, veena pandit <[EMAIL PROTECTED]> wrote:
> > I have a zip code field that when submitted populated the city and state.
> > The zip code field is an input text box.  How do I submit the zip code
> > field without tabbing but at the same time as when i click a button.
> > The button also has an action method associated with it.  Right now,
> > I have autosubmit= true on the zip code field has a valuechangelistener
> > associated with a listener method.
> >
> > I tried adding a javascript  onchange="clickLink('hiddenLink')" based on
> > some solutions to a different problem by Andrew Robinson on this
> > mailing list archive.  But when I click the button that calls the
> > zipChangeaction associated with the hiddenLink, but does not execute
> > the action associated
> > with the button.
> >
> > Thanks in advance for your help,
> >
> > Veena
> >
>

Reply via email to