<SNIP>
Jim> Is it possible to do the following? I want to have a form that calls another
Jim> CFM or closes the current browser window.
Jim>
Jim> That's it. Straight and to the point.
Jim>
Jim> <form action="Some.cfm" method="post">
Jim>    <input type="text">
Jim>    <input type="submit" value="save">
Jim>    <input type="submit" value="Close Window"> (Can this be a javascript
Jim> that closes the window?)
</SNIP>

Jim,
        This is definitely possible.  The <form action="Some.cfm" method="post"> will 
take care of the form that calls another cfm.  To close the window, you would have:

<input type="button" value="Close Window" OnClick="window.close">

That is all there is to it.  Hope this helps!

Chris Ivey

MTS Systems Engineer
GTE Data Services: Temple Terrace, Florida
TSS Distributed - WAN Tools Group
Office: (813) 978-4844
Pager: (813) 303-1177
AIM: IveyAtGTEDS

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
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.

Reply via email to