Issue with Internet Explorer

M

Mtek

Hi,

I know this is about IE, but it really has to do with programming, so
I'm hoping someone can help.

I have a question regarding Internet Exlporer and Firefox. We have a
set of screens that were written in PHP/HTML and obviously have some
javascript in them. The scripts fine in Firefox. However, Internet
Explorer is really rendering some weird results. Sometimes it works,
sometimes it does not, sometimes I have to delete the temporary files,
other times I do not.......really a pain in the ass.......

In fact, the form works once, then does not work again until you clear
the temp files.......

Is there any way to make sure this works every time? Like always
sending a complete refresh each time and not using the temporary
files??? Is there a work around??

Thank you!

John
 
H

Holger Jeromin

Mtek schrieb am 04.06.2008 06:28:
I know this is about IE, but it really has to do with programming, so
I'm hoping someone can help.

I have a question regarding Internet Exlporer and Firefox. We have a
set of screens that were written in PHP/HTML and obviously have some
javascript in them. The scripts fine in Firefox. However, Internet
Explorer is really rendering some weird results. Sometimes it works,
sometimes it does not, sometimes I have to delete the temporary files,
other times I do not.......really a pain in the ass.......

In fact, the form works once, then does not work again until you clear
the temp files.......

Is there any way to make sure this works every time? Like always
sending a complete refresh each time and not using the temporary
files??? Is there a work around??

solution for developing:
there is an option in the internet settings to recheck the page every time.

dirty solution for all:

var DatePreventsCaching = new Date();
and add the String '?preventCaching='+DatePreventsCaching.getTime() to
your destination.
 
D

Dr J R Stockton

Thu said:
dirty solution for all:

var DatePreventsCaching = new Date();
and add the String '?preventCaching='+DatePreventsCaching.getTime() to
your destination.

or:

var DatePreventsCaching = + new Date();
and add the String '?preventCaching='+DatePreventsCaching to your
destination.

or:

'?preventCaching=' + +new Date()
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,534
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top