Am having the below form in HTML
<form id="test" name="test">
<button id="save" class="small"><i class="icon-plus"></i>save</button> //KickStart
<button id="edit" class="small"><i class="icon-plus"></i>edit</button>
<input value=1 type="text" name=Col1 class="Hide">
<input value=2 type="text" name=Col2 class="Hide">
</form>
JQuery function to be called on button click
$(document).on("click", "#edit", function (e) {
return false;
});
But when i click on edit button form Submits and not calling the Jquery function as expected.
Maybe I am missing some property of the form ?
document.ready?type="button"for the buttons html. This will stop it from submitting.