aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Version problems with IE 5.0 and IE 6.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Version problems with IE 5.0 and IE 6.0" Watch "Version problems with IE 5.0 and IE 6.0" New topic
Author

Version problems with IE 5.0 and IE 6.0

Paul Phoby
Greenhorn

Joined: Sep 19, 2002
Posts: 13
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

Joined: Nov 08, 2001
Posts: 15376
    
    6
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

Joined: Sep 19, 2002
Posts: 13
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
 
subject: Version problems with IE 5.0 and IE 6.0
 
Similar Threads
how many screens look anf Feel....
file download is not working
End of Netscape?
Cancel button should take to previous page
JSF scalability and performance issues... please help... important