Sha256: c6edaed4dc39ca94b3918504ac82603b5dbe3addcf13bd3e49edac0e32f70e19
Contents?: true
Size: 602 Bytes
Versions: 33
Compression:
Stored size: 602 Bytes
Contents
/* hot-input */ (function($) { $.fn.hjq_hot_input = function(annotations) { this.on(annotations.events, annotations.selector, function (event) { var that=$(this); var form=that.parents('form'); var roptions=that.hjq('buildRequest', {type: annotations.method, attrs: annotations.ajax_attrs}); var data = form.find(":input").not(form.find(".formlet :input")).serialize(); roptions.data = $.param(roptions.data) + "&" + data; $.ajax(annotations.path, roptions); return false; }); } })( jQuery );
Version data entries
33 entries across 33 versions & 1 rubygems