calebasse / calebasse / static / js / calebasse.text_input_wrapper.js @ 37cdace1
1 |
(function ($) { |
---|---|
2 |
$(function() { |
3 |
$('.text-input-wrapper .clear').click(function () { |
4 |
$(this).prev('input').val(''); |
5 |
$(this).closest('form').submit(); |
6 |
});
|
7 |
$("input.focus").focus(); |
8 |
});
|
9 |
})(window.jQuery) |