CF doesn't have any native means of interracting with the browser, so you have to
resort to some sort of client scripting to accomplish that... It shouldn't be too
tough, usually something like this works:
<html><body onload="window.close();"></body></html>
or this:
<script language="javascript">
function myonload() { window.close(); }
window.onload=myonload;
</script>
hth
Original Message -----------------------
i would like to close an IE browser after an action page (that updates some
tables) is run. any suggestions on how to do this? i was thinking of using
javascript but im not sure how to get the window.close to run on my cf
action page. thanks.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at
http://www.coolfusion.com
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4