This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Version problems with IE 5.0 and IE 6.0

 
Paul Phoby
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Problems while using Internaet Explorer
---------------------------------------
1. Some child screens, which are opening in IE 5.0, are not opening in IE 6.0
My Observations: If I am remove or comment the document.location.reload() from the opener screen it works.
2. After saving some data, I am modifying some of the values.Before saving the newly entered value, I am pressing the cancel button then it works like save button.
(I am using 'document.location.reload()' in the cancel button(not reset))
Observations : This happens only in SOME of the screens of IE 5.0 but works fine with IE 6.0

Note:
I am finding document.location.reload() as a headache.
1. Can u suggest some other method which is doing the same purpose ?
2. Can u send some piece of code which u all are using for 'Cancelling' the current operation ?
3. Is there any url which will help me to make
javascript code, compatible with IE 5.0 and IE 6.0 ?
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
use
document.location.href=document.location.href;
seems to work better then the reload.
you may run into problems with cache opn certain machines, if this happens, I have a trick or two to stop it.
cancelling??? like the stop button on the browser?? that would be
window.stop();
IE 5.x and IE 6.x are rather similiar in coding, if you would have said netscape, then I would have understood. IE 6 just supports more CSS standards, but all the core JavaScript commands are the same.
Eric
 
Paul Phoby
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Eric,
Thanx for the immediate response.
document.location.href =document.location.href

is working for simple screens.
document.location =document.location
is also works here.
But not working for complicated screens. There
document.location.reload() works.
I need a single piece of common code which can be used for both the type of the screens.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic