Print Page | Close Window

onUnLoad not working in my BODY Tag

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Rich Text Editor (RTE)
Forum Description: Support forum for the Web Wiz Rich Text Editor (RTE).
URL: https://forums.webwiz.net/forum_posts.asp?TID=19365
Printed Date: 29 March 2026 at 10:24am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: onUnLoad not working in my BODY Tag
Posted By: mike823
Subject: onUnLoad not working in my BODY Tag
Date Posted: 17 April 2006 at 4:26pm
Hi all:
 

I am trying to create an onUnLoad event when a user closes the page that utilizes the RTE or navigates to another page.  I have this: <BODY onLoad="initialiseWebWizRTE();"> but when I try to implement an OnUnLoad event it never gets called.  I tested my code to see if I could get it to work without the onLoad="initialiseWebWizRTE();" and it does.  It seems that the initialiseWebWizRTE(); somehow makes the onUnLoad event get ignored in my main HTML page.  Does anyone know a way to get an onUnLoad to work with the RTE?

 
Thanks!
 
Michael



Replies:
Posted By: WebWiz-Bruce
Date Posted: 18 April 2006 at 8:46am
Have a look at modifying the RTE_javascript.asp file as that uses some javascript code when the page is unloaded or submitted.


Posted By: mike823
Date Posted: 20 April 2006 at 8:34pm
Originally posted by -boRg- -boRg- wrote:

Have a look at modifying the RTE_javascript.asp file as that uses some javascript code when the page is unloaded or submitted.
 
Thanks!  I got it to work.  I wasn't sure what file I needed to modify.
 
Michael



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net