So this is driving me nuts. This code,
$('#the_form').submit(function(e){
alert("Submit!");
return false;
e.preventDefault();
});
should prevent my HTML form,
<form id="the_form">
<input type="text" name="q" />
<input type="submit" />
</form>
from refreshing the page, but it doesn't. Does anyone have insight on this?
returnstatement.