jQuery: select an element's class and id at the same time?

前端 未结 6 1475
难免孤独
难免孤独 2020-11-27 10:35

I\'ve got some links that I want to select class and id at the same time.

This is because I\'ve got 2 different behaviours. When a class of links got one class name

6条回答
  •  -上瘾入骨i
    2020-11-27 11:02

    It will work when adding space between id and class identifier

    $("#countery .save")...

提交回复
热议问题