| not ( function ( index ) ) | ใช้ลบ element ที่กำหนดออกจาก set โดยถ้า function return false คือไม่ต้องการ element นั้นๆ |
|---|
syntax:not ( function ( index ) )
return type:void, element
content:ใช้ลบ element ที่กำหนดออกจาก set โดยถ้า function return false คือไม่ต้องการ element นั้นๆ
example:$("div").not( function ( index ) { return $(this).id != "hidden"; } ).css("font-weight", "bold");