User Profile
Collapse
-
Do you have a javascript debugger installed? -
It's much less complicated than you think!
In place of:
Code:window.onload=order_process;
Code:$(document).ready(order_process); //Which is also the same as $(order_process);
Leave a comment:
-
Well then it appears cacheing can be ruled out as a probable cause.
I noticed you're using window.onload. Are you sure that the div 'barber_pole' has been loaded when it tries to access it? If not, then it will just load in with the pre-loop content (as you said is happening). You might look into jQuery's .ready() function, which waits until all of the elements are ready before calling a function.
P.S. Switching to...Leave a comment:
-
The request headers are not what we're worried about here, so those setRequestHeade r() calls aren't very helpful.
What you need to set (assuming that caching is causing the problem) are your reply headers, which can be done from the server that the requests are being sent to. So, in that php file that you are requesting in your xmlhttprequest object, at the very top of the data that is sent back to the browser, you need:
...Leave a comment:
-
The %userprofile% variable refers to the currently logged in user's home directory (so the user's desktop would be "%userprofile%\ Desktop" for instance).
Alternatively, %allusersprofil e% will work for all user accounts on that system.
Hope this helps!Leave a comment:
-
Leave a comment:
-
In my experience, IE is much more finicky about its caching than Firefox, and sometimes something that works fine in Firefox can have unexpected results in IE, even erratic. Check your order_process.p hp and make sure it is setting the headers correctly (Cache-control: no-cache, no-store; Pragma: no-cache; Expires: some-date-in-past)...Leave a comment:
No activity results to display
Show More
Leave a comment: