// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults

// jQuery extension for properly firing event "change" after remote change input value
(function($) {
    $.fn.valChange = function(newValue) {
        return this.each(function() {
            var obj = $(this);
            obj.val(newValue);
            obj.change();
        });
    };

})(jQuery);
