How do I use jQuery to select all children except a select element

后端 未结 7 829
甜味超标
甜味超标 2020-12-07 18:43

I have a div (let\'s say the id is \"container\") with many elements in it, including a select element. I\'d like to select all everything in the div except the select. Thin

7条回答
  •  囚心锁ツ
    2020-12-07 19:23

    JQuery click handler for everything but a certain object
    Two approaches to the problem: The one with 8 votes is probably the one you are looking for.

提交回复
热议问题