Forums
This topic is locked
triggering javascript from ASP
Posted 21 Jan 2005 07:39:18
1
has voted
21 Jan 2005 07:39:18 Matt Millican posted:
Hi all,I need help triggering a javascript function from ASP. Is this possible. The ASP does a UPDATE or DELETE command and then the javascript is supposed to refresh the parent window and close the pop-up. Is this possible?
TIA
Matt
Matt Millican
InternetMill.com
www.internetmill.com
(Win XP Pro / DWMX / Access XP / ASP / VBscript / PHP / MySQL)
Replies
Replied 21 Jan 2005 10:38:24
21 Jan 2005 10:38:24 Vince Baker replied:
Here is some script to do just that. You could place a close window link on the page or use the onUnload....
onClick="opener.location='name of the opener page to be refreshed'"
Regards
Vince
DMX Talkzone Manager
Visit my home: www.chez-vince.com
(Now completely CSS based and bye bye to all tables!)
VBScript | ASP | HTML | CSS | SQL | Oracle | Hosting
onClick="opener.location='name of the opener page to be refreshed'"
Regards
Vince
DMX Talkzone Manager
Visit my home: www.chez-vince.com
(Now completely CSS based and bye bye to all tables!)
VBScript | ASP | HTML | CSS | SQL | Oracle | Hosting