jQuery取消选择
我正在尝试选择所有textareas,但不选择与它们关联的特定类的textareas。如何使用jQuery取消选择元素jQuery取消选择,jquery,Jquery,我正在尝试选择所有textareas,但不选择与它们关联的特定类的textareas。如何使用jQuery取消选择元素 $('textarea' - '.html').autogrow(); 您可以使用选择器排除包含类html的文本区域: $('textarea:not(.html)').autogrow();
$('textarea' - '.html').autogrow();
您可以使用选择器排除包含类html
的文本区域:
$('textarea:not(.html)').autogrow();