This is my example code:
My array is:
var myarray = ["air india", "king fisher", "Go Air"];
and my table is:
<table>
<tr>
<td>air india</td>
<td>code:121</td>
</tr>
<tr>
<td>Indiago</td>
<td>code:325</td>
</tr>
</table>
Now, i want to remove the rows which not contains values in the array ‘myarray’. In this case i need to remove second row(Indiago is not in myarray).
1 Answer