my html structure like this =>
Answer
script=>
$("#search_input").keyup(function() {
var userInput = $(this).val();
$(".article h5 a").map(function(index, value) {
$(value).toggle($(value).text().toLowerCase().indexOf(userInput) >= 0);
});
});
var userInput = $(this).val();
$(".article h5 a").map(function(index, value) {
$(value).toggle($(value).text().toLowerCase().indexOf(userInput) >= 0);
});
});
1 >Question=
how can i help u?
Answer =>
By Solving My Problem
2)Question= What IS your Name
Answer =>-Hament
Like Above i have may item like this ,when i write how so that time Question
as well as from Answer also ,i olny want to search it from
it search from Question ..
Means My Wronge Result Shows O/p Like
Question= Hament
how can i help u?
By Solving My Problem
Abhijeet SinghPosted Mar 29, 2015, 3:59 AM
http://deuxhuithuit.github.io/quicksearch/