I catch my forms submit with:
$('#my-form').submit(function(e){
//do stuff
Here's my html
<div class="row">
<div class="columns">
<button type="submit" class="small right">Save</button>
</div>
</div>
Also in my form are other buttons for deleting images:
<button class="tiny btn-caption" data-reveal-id="caption-modal">
<i class="fa fa-bars fa-2x"></i>
</button>
The problem is, these image buttons submit the form, how can I stop this?