anchor.diff:  search 1
   
   <form id="live-search-form" method="get" action="<%= search_path %>">
  -  <input id="search-box" name="q" type="text" class="form-control"/>
  +  <input id="search-box-admin" name="q" type="text" class="form-control"/>
   </form>
   <div class="dropdown">
  -   <ul id="search-results" class="dropdown-menu">
  +   <ul id="search-results-admin" class="dropdown-menu">
      </ul>
   </div>
   
  
positive.code: 
  <script>
  
  
  var myDivElement = $( "#myDiv" );
  
  function divFunction(id, name){
    myDivElement.append("<p>"+name+"</p>");
    $("#live-search-results").hide();
  }
  
  //$("#big-search-box").focusout(function() {
  
negative.code: //});
  
    
  $("#search-box-admin").bind("keyup", function() {
    var form = $("#live-search-form");
    var url = "/tasks/live_search";
  
    var formData = form.serialize();
    if (formData.length == 2) $("#search-results-admin").hide();
    else {
      $.get(url, formData, function(html) {
        $("#search-results-admin").html(html);
        $("#search-results-admin").show();
      });
    }
  
  