1
如何貫穿所有文本區,不包括其ID爲?的人。排除.each中的一個元素
$("textarea").each(function (i, v) {
// i could use an "if" inside here, but would rather adjust the selector
});
我已經嘗試使用:not($('#mySpecialTextarea'))
,但不能得到它的工作。
正是我在找的東西,謝謝。 – peter