Skip to content

Instantly share code, notes, and snippets.

💻
Coding

Rodrigo Pauletti RodrigoPauletti

💻
Coding
Block or report user

Report or block RodrigoPauletti

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@RodrigoPauletti
RodrigoPauletti / ajax-form.js
Created May 3, 2018 — forked from havvg/ajax-form.js
jQuery AJAX form submit with Twitter Bootstrap modal
View ajax-form.js
jQuery(function($) {
$('form[data-async]').live('submit', function(event) {
var $form = $(this);
var $target = $($form.attr('data-target'));
$.ajax({
type: $form.attr('method'),
url: $form.attr('action'),
data: $form.serialize(),
You can’t perform that action at this time.