> i have a FORM with ACTION="Javascript:function()" where my
> function opens a window. i specifiy the URL as a function
> parameter. in the popup window, i cannot access the variables
> from the form. is there something odd i'm missing about
> submitting a form using a JS function in the ACTION of FORM?
To the best of my knowledge, you can't use a JavaScript pseudo-URL as a form
action in any meaningful way; that is, that if you do that, there's no HTTP
post, so there's no form data.
If you want to post to a new window, and you want to specify the parameters
for that window's appearance and functionality, you can do that by writing a
JavaScript routine that creates the window, then submits the form to that
window programmatically.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists