JSFiddle - React, Tailwind, and code Playground

by revathskumar

HTML

<script src="http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/jquery.validate.js"></script>
<form id="form">
<input type="text"/>
<input type="submit"/>
</form>

JavaScript

jQuery("#form").live("validate", function() {
    submitHandler: function(form) {
        alert("sfsdf");
        jQuery(form).ajaxSubmit({
            target: "#result"
        });
        return false;
    }
});