• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

IE vs Mozilla + Java script code

 
Tina Desai
Ranch Hand
Posts: 365
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Friends,

We have one issue with the browser back button.

On the page user change change some display settings which are manupulated internally in Javascript.
The on the page unload event, the settings are written to backend [in session object] by making an AJAX request to transfer this data. These settings are applied by retrieving them from the session, if user visits this page again.

After navigating to the next page if user presses on Back button, then in Mozilla all the settings he had done before leaving the page
are reflected. But in IE, these are not reflected.

If user visits the page again with a proper navigation from menu then the settings are reflected.

Now, the user wants this to work in IE also. Back button is a requirement that should work

Help in the following is greatly appreciated -
1. if there is some known problem in IE
2. if there is some setting in IE
3. if there are some correction at code level that can do the trick.

Regards,
Tina
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you making an Ajax call onload of the page to get the data again and redisplay it?

Eric
 
Tina Desai
Ranch Hand
Posts: 365
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No ..

The AJAX call on unload actually sets an attribute in the session.
ON load of the page, we retrieve the attribute from the session assigning its value to a hidden variable.

It works perfectly when coming from proper links.

Regards,
Tina
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic