Scott,
Thanks, your code works great. The only thing is that the height and width attributes
aren't working.
-Tom
-------------------------
Scott wrote:
try adding a submit function to your script:
function popUp()
{
opts="menubar=no,status=no,toolbar=no,resizable=no,width=350,
height=200,titlebar=no";
newWindow = window.open('index.cfm?fuseaction=formAction','bizcard',opts);
//next line added
document.myFormName.submit();
//newWindow.focus() commented out not needed because of the target of your
form
}
It's also a good idea to name your form. (you can access the
form as an array element, but you can never be sure that it is
the only form on the page (all the includes and other files
that make up the file). So add a name attribute
<form name="myFormName" method="post" target="bizCard"
action="index.cfm?fuseaction=formAction">
Hope that helps
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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