Sha256: 77e84a4e97d2fd3e813c998918704a30ed13190f65d858a4b602eb1abeaf9a30
Contents?: true
Size: 697 Bytes
Versions: 73
Compression:
Stored size: 697 Bytes
Contents
I"(function() { $(function() { return $('.ui-autocomplete-input').each(function() { var element, target; element = $(this); target = $(this).attr('data-source-url'); element.autocomplete({ source: target, minLength: 2, html: true, open: function(event, ui) { $('.ui-autocomplete').css('z-index', 1000); }, create: function() { return $(this).data('ui-autocomplete')._renderItem = function(ul, item) { return $("<li>").append("<span>" + item.title + "<br><small>" + item.subtitle + "</small></span>").appendTo(ul); }; } }); }); }); }).call(this); :ET
Version data entries
73 entries across 25 versions & 2 rubygems