change your HREF to call a function that assigns a value to your hidden
field, then execute a formname.submit();
function SomeFunction(form)
{
form.fieldname.value="new value";
form.submit();
}
-----Original Message-----
From: Cox, Charlie [mailto:[EMAIL PROTECTED]]
Sent: October 08, 2002 7:38 AM
To: 'Tomcat Users List'
Subject: RE: To capture the CLICK event of SUBMIT button
I'm not seeing how this relates to tomcat...
there are plenty of good javascript resources on the net.
> -----Original Message-----
> From: Nagpal, Vikas [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 08, 2002 10:30 AM
> To: '[EMAIL PROTECTED]'
> Subject: To capture the CLICK event of SUBMIT button
>
>
> Hello Everybody,
>
> I have been trying to accomplish two jobs simultaneously.
> First on the CLICK
> of my ANCHOR tag I want to assign some value to the HIDDEN
> input tag and
> simultaneously carry this value to the page linked to HREF
> element of this
> ANCHOR tag.
>
> Till this point of time its a two CLICK process(Using
> JAVASCRIPT FUNCTION):
>
> 1) I CLICK on my HREF element and it assigns some value to
> the HIDDEN input
> tag.
>
> 2) Then I CLICK on the SUBMIT button and it carries the value
> assigned to
> the HIDDEN input tag to the page linked to the HREF element
> of the ANCHOR
> tag.
>
> Can i make this a single CLICK process by capturing CLICK event of the
> SUBMIT button on the onClick event of my ANCHOR tag. Can I
> make this single
> step process.
>
> Thanks in advance,
> With regards,
> Vikas nagpal.
>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>