#structure tr#

Discussion in 'jQuery' started by DmiSa, Apr 19, 2023.

  1. #1
    Sorry for newbie question, the code contains the following:
    var trElem = $("#structure tr#"+rowId);
    1. Is that jQuery?
    2. What does structure and the whole #structure tr# mean?
     
    DmiSa, Apr 19, 2023 IP
  2. phoenixtropicals

    phoenixtropicals Active Member

    Messages:
    138
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    50
    #2
    Yes, its Jquery. The # sign is used to search for id's, so it's looking for a id=structure. After that it gets a big messy. I'm not sure what having an element type before the id search means. I'm used to seeing the # at the beginning of the string.
     
    phoenixtropicals, Sep 3, 2023 IP