orbit-basic/app/assets/javascripts/ajax_form.js

7 lines
147 B
JavaScript
Raw Normal View History

$('#submit_button').live('click', function(){
$('#ajaxForm').ajaxSubmit({
beforeSubmit: function(a,f,o) {
o.dataType = 'script';
}
});
});