Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.

Event loadend not execute when change page in javascript

Post Reply
User avatar
salvadordf
Posts: 4057
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Event loadend not execute when change page in javascript

Post by salvadordf »

I just uploaded a new version of the MiniBrowser demo that shows the frame name in the statusbar using the TChromium.OnLoadEnd event.

If you load the following web page and click the "Load new document" button you will see the loaded frame names :
https://www.w3schools.com/js/tryit.asp? ... loc_assign

That web page uses this JavaScript code to load a new page :

Code: Select all

window.location.assign("https://www.w3schools.com")
Post Reply