 
 <?php 
 require_once "labClass.php";
 $con = new labClass();
  ?>
 <div class="container mt-3" style="width:100%;">
<div id="disR"></div>
 <div  class="mt-4 p-5 bg-white text-dark rounded">
   
    <h6>Update stock:</h6>
    <div class="row">
           <div class="col">
    Source:
<select class="form-control" name="etype" id="etype">
    <option value="">Select</option>
    <option value="Purchased">Purchased</option>
    <option value="Sells return">Sells return</option></option>
    
    </select>
   
    </div> 
    <div class="col">
     <label for="cname" class="form-label">Search/Sort by: Name:</label> 
      <input type="text" onkeyup ="submision()" class="form-control" id="tname" style="width:100%; height:40px; border-radius:12px;" placeholder="Test name" name="tname" required>  
    </div>
</div> 
</div>

<!-- SEARCH BOX END-->

</div>

 </div>
 <div id="dispR">
   
 <?php
   //require_once "labToolkitListOp.php";
   ?>
   
 </div>
 
   

 <script>
 
  function submision(){
    
    var searchValue=$('#tname').val();
    
    $('#dispR').empty();
    $.post('pharItemSearch.php',{searchValue:searchValue},function(data){
      $('#dispR').html(data);

    });
    }
 
</script>
 