So here is the scenario. I have a series of about 60 hidden li's that contain important information about each link. When a user hover overs the link the alt info displays in a special information area.
<li style="list-style-type: none; "><a href="a" alt="This offers details on cars, monkeys trees, horses and how to do your taxes" class="report">Data Link 1</a></li>
This works perfectly fine, but I want to try and make this function even better, by providing a way for the user to search in a search box (or even auto complete) and have it bring back a list of data links that match the criteria.
Thoughts on how to go about this? Listed below is my existing code.
$(function(){
// Tabs
$('#tabs').tabs();
$('#leftnav li a').hover(
//hoverIn function
function() {
$('#reportDetail').html($(this).attr('alt')).fadeIn('slow')
},
//hoverOut function
function(){
$('#reportDetail').hide();
}
);