location.href = "pagename.htm";
It works fine when I use the IE and Opera browsers. In Firefox, on the other hand, it keeps popping back to the original page.
P.S. I need this question answered within 24 hours, because I have to hand in an assignment tomorrow. Right now that malfunction is all that's preventing my program from working. I haven't got much time... and I've been struggling with this problem for at least a week...