I have a question regarding a Table in a UI. Actually, i’d like to simulate a doubleclick on the first row of a table, any Idea on how to do that? I know that the function is .dblcklick, but trying to find the row didn’t work. I can find the table like this: $(‘#meineTabelle’) but how to continue?
The way to find the row depends on what info you have. If you know the index you can do: $('#meineTabelle tr').eq(index).dblclick() If not, you need to find the row differently using the traversing methods and selectors of jQuery.
thanks for the help! it worked, although, i have to execute the .dblclick on the not on the row i found out. So the complete would be: $(“#meineTabelle”).find(“tbody tr”).eq(0).find(“td”).eq(0).dblclick();