<!-- this is all in a table-->
<tr> <!-- is bing repeated via loop in php -->
<td>
<ul class="icons-list">
<li class="dropdown">
<a href="#" class="here">Click me</a>
<ul id=this" class="dropdown-menu dropdown-menu-right">
<li><input type="submit" value="Edit"</li>
</ul>
</li>
</ul>
</td>
</tr>
$('#table tbody').on('click', 'tr','.here', function () {
$('#this').toggle();
} );
I have this code what happen is when I click on them the drop down does show but only for the first row no matter which row I click on. please note that there is multiple rows how can I fix this?