crowdint/rails3-jquery-autocomplete — pull request #134 by PhilipDaineko (2012-01-27 10:44:10+00:00)
Title: jQuery 'noData' event for autocomplete.

jQuery 'noData' event for autocomplete. Triggered when sql-query returns no results. It's useful to show messages, somethink like "sorry, do data found" etc.
To bind a callback function jQuery("#autocomplete_id").bind("railsAutocomplete.noData", function(){ alert('no data:('); })

Guys, please review. I find it useful for myself, hope somebody else will find it useful too.