Dynamic Search Tweak
I want my search to search only first column but still bring up the entire row. I also want exact search to be brought to the top of the list.
For example; when I type "ad" ABLS come to the top because of the second column. Thanks for help.
I am working it at jsfiddle:
Yes, I know I'm about as subtle as being hit by a bus..(\\.\ Aug08)
Yep... I say it like I see it, even if it is like a baseball bat in the nutz... (\\.\ Aug08)
I want to leave this world the same way I came into it, Screaming, Incontinent & No memory!
I laughed that hard I burst my colostomy bag... (\\.\ May03)
Life for some is like a car accident... Mine is like a motorway pile up...
Problems with Vista? :: Getting Cryptic wid it. :: The 'C' word! :: Whois?
Sorry, I moved it to: http://www.webdeveloper.com/forum/sh...23#post1322823
Originally Posted by \\.\
Thanks, for pointing it out.
<meta charset="utf-8" />
return 0 == $(this).text().toLowerCase().indexOf(val);}
<label><input id="search" placeholder="Quick Search" type="text"></label>
<tr><td>AAFES</td><td>Army and Air Force Exchange Service</td></tr>
<tr><td>AAR</td><td>after action review</td></tr>
<tr><td>ABLS</td><td>Advanced Burn Life Support</td></tr>
<tr><td>ACASP</td><td>Army Civilian Acquired Skills Program</td></tr>
<tr><td>ACCP</td><td>Army Correspondence Course Program</td></tr>
<tr><td>ACE</td><td>American Council on Education</td></tr>
<tr><td>ACTEDS</td><td>Army Civilian Training, Education, and Development System</td></tr>
Worked great Padonak, thank you very much!
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)