I am looking to use the alt attribute of images in a table to search and display the entire row using javascript or jquery.
<div class="input-group">
<span class="input-group-addon">Filter</span>
<input id="filter" type="text" class="form-control" placeholder="Search Airline here">
</div>
<table class="customTable">
<thead>
<tr>
<th>Airline</th>
<th>Authorized Laboratories</th>
<th>Duration for PCR before flight</th>
</tr>
</thead>
<tbody>
<tr>
<td><img src="http://www.timestravel.com/images/airlines/EY.png" alt="etihad" width="174" border="0" style="display:block; margin-left: auto; margin-right: auto; width: 70%;" /></td>
<td>
<ul>
<li>Chughtai Lab</li>
<li>Agha Khan Laboratory</li>
<li>Shaukat Khanum</li>
<li>Dr Essa Labroratory</li>
<li>Islamabad Diagnostic Center</li>
<li>Excel Lab</li>
</ul>
</td>
<td>96 Hours</td>
</tr>
How can I achieve this with javascript or jquery?