bildwelt
E2E FORUM
E2E Bridge E2E Commerce

jQuery / Javascript Question

E2E Forum User Interfaces jQuery / Javascript Question

This topic contains 3 replies, has 3 voices, and was last updated by  django 4 years, 8 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #359

    django
    Moderator

    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?

    #360

    Marcel R.
    Blocked

    What is the question?

    #364

    Cyril
    Moderator

    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.

    #369

    django
    Moderator

    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();

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.