| height ( function ( index, height ) ) | ใข้กำหนดค่า ความสูง ให้กับ ทุก element ภายใน set |
|---|
syntax:height ( function ( index, height ) )
return type:void, element
content:ใข้กำหนดค่า ความสูง ให้กับ ทุก element ภายใน set
example:$("div").height ( function ( index, height ) { if ( index % 2 == 0 ) { return "100px"; }else{ return "150px"; } } );