Results 1 to 2 of 2

Thread: Dynamic Search Tweak

  1. #1
    Join Date
    Mar 2014

    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:

  2. #2
    Join Date
    Mar 2014
    to search only the first column, you could add a class of something onto the td's in column one, then set the clls var to be.

    var $cells = $("td.searchme");

    alternatively, add a class of something to the second column - like description, i.e.

    var $cells = $("td.description");

    and then you will only search the cells with that class.

    as for ordering.. will need to think about that..

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center