Need help adding a search to mobile site

Need help adding a search to mobile site

Hello,

I'm new to JQuery and I'm trying to figure out how to add a search to a mobile site.

I found this code snippet but I don't know how to setup the rest of the search function. Do I need a database or text file to search though? I'm not sure how to call a plugin either with JQuery. 

I'm assuming JQuery has a plugin available for this? I tried searching this forum but I can't find anything. Any help would be appreciated!
  1.     <form method="post" action="backcountry_hiking.html">
  2.       <div class="ui-field-contain">
  3.         <label for="search">Search:</label>
  4.         <input type="search" name="search" id="search" placeholder="Search for content...">
  5.       </div>
  6.       <input type="submit" data-inline="true" value="Submit">
  7.     </form> 
  8.