James,
You should be able to do the following:
document.formName.action = "/newURL/";
document.formName.submit();
-Dan
+--------+---------------------------+
| name | Dan G. Switzer, II |
|company | PengoWorks.com |
| www | http://www.pengoworks.com |
| mailto | [EMAIL PROTECTED] |
+--------+---------------------------+
-----Original Message-----
From: Pecora, James [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 29, 2000 10:21 AM
To: CF Talk (E-mail)
Subject: OT: Form Action Question - JS
Is it possible to have the form action driven by a form element?
I have a select box that is listing some pages,
when the user select a page and fills out the rest of the form,
I want the form submited to the page selected in the select box...
I realize I can do this by using this form param on the action page
and redirecting from there, but I would like to make this work cleaner than
that...
Any help -
Thanks
----------------------------------------------------------------------------
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.