Skip to main content

Posts

Showing posts with the label Javascript function to add searching for HTML table.

HTML Table Pure JS LIVE search for all columns

HTML Table Pure JS LIVE search for all columns Hello, Today we learn how to add live search for html without jQuery .  Why we are using PURE JS ? jQuery syntax is easy and simple compare to javascript but sometimes  jQuery have conflict issues with other libraries and also it takes more time compare to javascript. So here is the full code and js function to add search in html table HTML CODE   <input id="dls_search_input" onkeyup="search_table()" type="text" />    <table class="dls-table dls-table-element" id="dlsTableAirline"> <thead> <tr> <th>First Name</th> <th>Last Name</th> <th>Email</th> </tr> </thead> <tbody>   <tr>   <td>Jackson</td> <td>Doe</td>   <td>john@gmail.com</td> </tr> <tr> <td...