> in your onclick add return false; at the end > So you have : <a href="#" onclick="yourcomplicatedScript(); return false;"> Thanks that fixed it. Peter