Well i have a simple for loop function issue is that i want the page to reload once done but what happens sometimes is that the page preloads before the loop has been fully run which makes the script not behave properly
it's like this at the moment:
for (loop condition) {
action
}
window.location.reload();
but as i just mentioned it preloads in some browsers i do use the jquery library if that would make things easier