Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    New Coder
    Join Date
    Aug 2004
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Javascript loading in mac pc

    I am using mac with IE5.2. Any change in my javascript code is not getting reflected in the browser, thought i had cleared the IE cash. Please let me know a solution for this problem

    Pradeep

  • #2
    fci
    fci is offline
    Senior Coder
    Join Date
    Aug 2004
    Location
    Twin Cities
    Posts
    1,345
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by LVPRADEEP
    I am using mac with IE5.2. Any change in my javascript code is not getting reflected in the browser, thought i had cleared the IE cash. Please let me know a solution for this problem

    Pradeep
    maybe the Javascript has errors? Post the Javascript so we can debug for you.
    And, it's spelt "cache" not "cash."

  • #3
    Banned
    Join Date
    Sep 2003
    Posts
    3,620
    Thanks
    0
    Thanked 0 Times in 0 Posts
    If you are using an external script try adding a querry and a number to the uri to fool the browser into thinking it is a new page... (the same if the script is on the page)....

    EG:
    <script source="myJS.js?2" ....
    Or, in the addressbar: http://myPage.html?2

    And increment the number each time you make a change....

    .....Willy

    Edit: BTW, an additional benifit of using this method is that it allows you to quickly return/retrieve a previously cached change.... such as if you have made six changes and incremented the number for each change.... you can call up the previously cached second change by using it's index number behind the querry....
    Last edited by Willy Duitt; 08-31-2004 at 03:37 PM.

  • #4
    Senior Coder
    Join Date
    Jun 2002
    Location
    near Oswestry
    Posts
    4,508
    Thanks
    0
    Thanked 0 Times in 0 Posts
    To clear Mac/IE's cache - close all open windows, then go to preferences and clear the cache, then quit and restart explorer. Then you should be good
    "Why bother with accessibility? ... Because deep down you know that the web is attractive to people who aren't exactly like you." - Joe Clark

  • #5
    New Coder
    Join Date
    Aug 2004
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts
    We had a lot of problems with 5.2 on the mac. It never wanted to clear its cache.

  • #6
    New Coder
    Join Date
    Aug 2004
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    It worked

    I changed the javascript file name and mentioned that name while calling. It worked. but for every change i need to do this...Is there any alternative?..cache clearing in the prefernces and quiting the explorrer does not work

  • #7
    Banned
    Join Date
    Sep 2003
    Posts
    3,620
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You do not need to change the file name...
    The trick is while making changes to just add the querry and a number to the source call....


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •