why are you placing the return false there, couldn't you put it in your
function popUp()? What excatly does your popUp() function do, and why do
you need the return false anyways? Sorry, just got curious there. I do a
lot of java scripting for my code on client side development, and had not
found out a time to do that, I just would like to know, so I could learn.
Donald R. Pavlik
Founder
Bug Engineering Co.
"Making the Dreams of Tomorrow, Reality Today"
-----Original Message-----
From: Matthew Walker [mailto:[EMAIL PROTECTED]]
Sent: Sunday, December 03, 2000 1:23 AM
To: Fusebox
Subject: RE: form, formaction, and popUps
> <form method="post" action="index.cfm?fuseaction=formAction">
> <input name="firstname" type=text size="20">
> <input name="lastname" type=text size="20">
> <input type="submit" value="find" onClick="popUp(); return false">
> </form>
>
> What am I doing wrong?
The return false is cancelling the submit. Either you could add something
like formname.submit() to the JS (does that work??) or you could add target
to <form> and remove the return false and make sure the popup() script give
the new window a name...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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