laktek / jQuery-Smart-Auto-Complete

AutoComplete plugin with smart defaults and flexibility to customize
http://laktek.com/2011/03/03/introducing-jquery-smart-autocomplete/
248 stars 34 forks source link

Provide target element for filter query funciton #30

Closed nuwansh closed 10 years ago

nuwansh commented 10 years ago

This is required if you need to get target element attribute values. For examples need to send dynamic data attributes values to ajax request.

laktek commented 10 years ago

Thanks for the PR, can you please update the spec to reflect this change? https://github.com/laktek/jQuery-Smart-Auto-Complete/blob/d5907322ec761186ab69d704c1522b7c36aa0648/spec/core/jquery.smart_autocomplete_spec.js#L164

laktek commented 10 years ago

Updated the tests and merged in https://github.com/laktek/jQuery-Smart-Auto-Complete/commit/7e33cf54883f84caae5ddc4c5f963fd3449da8bd.

Thanks!