Opened 13 years ago
Closed 13 years ago
#5747 closed enhancement (invalid)
[autocomplete] Display results as TABLE instead of UL
Reported by: | bearwalk | Owned by: | |
---|---|---|---|
Priority: | trivial | Milestone: | 1.4 |
Component: | plugin | Version: | 1.3.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
(This is my first contribution here, so I'm sorry if I'm submitting this the wrong way somehow.)
The attached file is the latest autocomplete plugin, but with an enhancement that makes it possible to display the results as table rows rather than list items. Very handy if you need to display additional data about each result.
Of course, to take advantage of this you must make formatItem() return strings with several TD:s, like "<td>foo</td><td>bar</td>".
Search for the string "resultsElements" to find all the lines I've modified.
Attachments (1)
Change History (2)
Changed 13 years ago by
Attachment: | jquery.autocomplete.js added |
---|
comment:1 Changed 13 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
The autocomplete plugin isn't part of jQuery core, so it would be better to post this in the jQuery group:
http://groups.google.com/group/jquery-en