Click table row with some ID

I have the following code that works perfect for clicking on the first table row.
$(‘#lessons-table tr:first’).click();

But how do I modify this so that it will click the first row with a specific ID

 $('#lessons-table tr:WITH SOME ID VALUE').click();

Hi @henk3, since IDs are supposed to be unique all you need is

$('#specific-table-row-id').click()

thank you!

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.