• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

Version problems with IE 5.0 and IE 6.0

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ?
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
After some pecan pie, you might want to cleanse your palatte with this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic