how to implement Search function using Javascript or jquery

JanethD

New Member
here i write code where all persons names comes from Facebook API . and it is showing on lightbox. now i want to implement search functionality using javasciprt/jquery . Can you help me how should i implement search function ?\[code\] <div> <input type="text" id="search-criteria"/> <input type="button" id="search" value="http://stackoverflow.com/questions/14031369/search" onClick="tes();"/> </div><fieldset> <legend>Invite Facebook Friend</legend> <div class="fbbox"> <img src="http://stackoverflow.com/questions/14031369/images/User.png" class="fbimg" /> <div class="fix"><label for="check-2" class="left"> James </label></div> <input type="checkbox" name="fb" id="check-1" value="http://stackoverflow.com/questions/14031369/action" class="leftcx"/> </div> <div class="fbbox"> <img src="http://stackoverflow.com/questions/14031369/images/User.png" class="fbimg" /> <div class="fix"><label for="check-2" class="left">Alan </label></div> <input type="checkbox" name="fb" id="check-2" value="http://stackoverflow.com/questions/14031369/comedy" class="leftcx"/> </div> <div class="fbbox"> <img src="http://stackoverflow.com/questions/14031369/images/User.png" class="fbimg" /> <div class="fix"><label for="check-3" class="left"> Mathew </label></div> <input type="checkbox" name="fb" id="check-3" value="http://stackoverflow.com/questions/14031369/epic" class="leftcx"/> </div>\[/code\]Here is a sample screenshot :
s0PbB.png
 
Back
Top