?
Current Path : /home1/savoy/public_html/savoyglobal.net/drafthr/system/application/views/Customer/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : /home1/savoy/public_html/savoyglobal.net/drafthr/system/application/views/Customer/pickemployee.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <script> function loadSearchTxt(valu) { document.getElementById('SearchText').value=valu; } function listsearchemployee1(searchtext,options) { $('#Result_Div').load("<?php echo site_url('customer/listsearchemployee/'); ?>" + "/" + document.getElementById(options).value + "/" + document.getElementById(searchtext).value ); } </script> <form id="customForm"> <fieldset class="lefttalign"><legend>Search Employee</legend> <div id="searchoptions_Div"> <ul> <li> <label>Search By</label> <select name='searchoption1' id='selectoption1' onchange="changetxt(this.value);"> <option value="staffpersonaldetails~employeeid~id">Employee No</option> <option value="staffpersonaldetails~name~id" >Employee Name</option> <option value="staffemployeedetails~designationid~staffid" >Designation</option> </select> </li> <li> <label>Search Text</label> <div id="searchtextbox"> <input type="text" id="SearchText"/> </div> </li> <li> <input type="button" value="search" onclick="listsearchemployee1('SearchText','selectoption1')"/> </li> </ul> </div> </fieldset> <div id="Result_Div" style="overflow: auto;width:100%;height: 200px"></div> </form>