<input id="aaa" onclick="scrollTo('registerBox'); return false;" formaction="register.php" type="submit" value="Register" />
If JavaScript is enabled (which it is, and it's working on other functions and triggers). Shouldn't it execute scrollTo("registerBox");
and don't do anything (return false;
).
Am I missing something? I don't want it to formaction
if JavaScript is enabled.