When I visit a new page on my HTML site, and it's still loading, the user should be able to click a button and then the button works even though the page still loads. Because right now, when the page loads, the user clicks the button, and when the page is done loading the click activates. I guess i should use some kind of cancel page load
, on input click (I have to submit FORM too). But can/how can this be done?
echo'
<form action="" method="POST">
<input type="submit" value="Show Saved Features" name="Hide" class="btn btn-info ChangeFeature indexLink_Buttons4"/>
</form>
';