Question
Running Javascript Code to Close Window at end of page
I have a popup window form that submits data and then upon
clicking a link, closes itself and refreshes the parent page. Is
there a way to do this after automatically without having to click
the link? By that I mean, is there a coldfusion tag that allows for
the javascript to run at a certain point in my lines of code (on
the cf page my form posts to)?
My close window link code is as follows:
<a href="javascript:;" onclick="opener.location='https://somewebsiteurl.com/#form.somevar#';self.close();">Close Window</a>
My close window link code is as follows:
<a href="javascript:;" onclick="opener.location='https://somewebsiteurl.com/#form.somevar#';self.close();">Close Window</a>
