Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The window.history takes focus now
Message
De
07/06/2001 15:44:13
 
 
À
Tous
Information générale
Forum:
Internet
Catégorie:
Javascript
Titre:
The window.history takes focus now
Divers
Thread ID:
00516591
Message ID:
00516591
Vues:
60
One HTML page is calling a backend application which returns an HTML page containing some javascript code. That code is using window.open syntax to call another page in its own window. Normally, when returning that code, I also send window.history.go(-1) to force the originated page to go where it was prior to calling the transaction.

This works for a while. Now, probably related to the time that the new window is taking to open and load everything, when the window.history.go(-1) is done on the orignated page, the focus is also activated on that page. Before, the history was doing its process in the back. Now, the history activates the focus. So, the new window opened only appears for a second and looses its focus. How can I force it to keep its focus? In order word, the main goal here is to have the orignated window to go back where it was before posting the form without affecting the new window opened in regards to its focus.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform