perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cameron B. Prince" <cpri...@rideware.com>
Subject RE: Single Form - Multiple Destinations
Date Thu, 24 Jul 2003 16:22:18 GMT
Hi Sean,

>
> 	My first instinct on this would be to a javascript onClick()
> event on the button, which triggers a function that changes the form's
> action attribute based on which button they clicked, then submit the
> form.  The function would look something like:
>
> function subform(destination){
> 	document.myform.action=destination;
> 	document.myform.submit();
> }
>
> 	This is probably going to be much easier than futzing with http
> headers...


Good idea and I believe this will work... I was about to try stuffing
everything into the session.

Thanks,
Cameron


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message