On 1 May 2007 22:26:46 -0700, in comp.lang.javascript
atulvp@gmail.com
<1178083606.450202.142890@h2g2000hsg.googlegroups. comwrote:
Quote:
>| [...]
>| | manually refresh the page many time until it gives me correctimage.
>| |
>| Try clearing the cache for both browsers - sounds like the cache maybe
>| corrupted.
>| ---------------------------------------------------------------
>| jnort...@yourpantsyahoo.com.au : Remove your pants to reply
>| ---------------------------------------------------------------
>|
>| How can i clear cache? can u give me an example?
>| I am using following way to load my image.
With Firefox 2.0.0.3
Tools | Options | Privacy
In the Private Data area click the Setting button.
Ensure that cache is selected within the list.
Click ok twice to close both popup windows.
Tools | Clear Private Data
In IE 7:
Tools | Delete Browser History
Click the Delete Files... button.
Quote:
>| var today=new Date();
>| var time=today.getSeconds();
>| var i="http://lucky.myrice.com/back.jpg?"+time.valueOf();
>| document.write("<img src="+i+">");
>| </script>
>|
>| Is this right way?
>|
>| Please tell me if you have any other idea.
>|
>| - Thanks
---------------------------------------------------------------
jnorthau@yourpantsyahoo.com.au : Remove your pants to reply
---------------------------------------------------------------