Skip to content

Instantly share code, notes, and snippets.

@aruizca
Created March 4, 2013 01:59
Show Gist options
  • Save aruizca/5079390 to your computer and use it in GitHub Desktop.
Save aruizca/5079390 to your computer and use it in GitHub Desktop.
Ajaxify submit elements within a form
<form ....>
...
<div>
<button type="submit" aa-refresh-zones="aaZone1Example2" class="btn btn-primary" name="refreshTextButton" value="Refresh Text">Refresh Text</button>
<input type="image"aa-refresh-zones="aaZone1Example2" src="<c:url value="/img/refresh.png"/>" name="refreshTextButton" value="Refresh Text"/>
<input type="submit" aa-refresh-zones="aaZone2Example2" class="btn btn-info" name="showCodeButton" value="Show Code"/>
</div>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment