Sha256: 12d60a2eaffb5288ed7bee43ea7995f2fa284fdc08ec126bf33c03052ab159fd
Contents?: true
Size: 640 Bytes
Versions: 10
Compression:
Stored size: 640 Bytes
Contents
I"t(function() { $(function() { return $("button.reset").click(function() { var form; form = $(this).parents("form"); form.find("option").map(function() { if (this.value === "") { return this.selected = true; } }); form.find("input").map(function() { if (!this.type.match(/submit|hidden|button/)) { return this.value = ""; } }); form.find("textarea").val(""); return form.find("select").map(function() { if (this.selectize) { return this.selectize.clear(); } }); }); }); }).call(this); :ET
Version data entries
10 entries across 5 versions & 1 rubygems