locked
How to implemetn search bar in list <li> ??

    Question

  • How to search in a list , when u click on search button in list ???

    Is there any function in winjs for this ,

    alternate for this(in jquery) :--

    var result = $('.right li:contains("' + $('input[name="searchBox"]').val() + '")');

    Wednesday, April 18, 2012 6:24 AM

All replies

  • Standard javascript should work here, and I am pretty sure you can leverage jquery in Metro as well. What kind of list (array or some other object) are you trying to search?


    Matt Small - Microsoft Escalation Engineer - Forum Moderator

    Thursday, April 19, 2012 2:50 PM
    Moderator