| $( html, property ) | ใช้สร้าง element และกำหนด attribute ให้กับ element |
|---|
syntax:$( html, property )
return type:element
content:ใช้สร้าง element และกำหนด attribute ให้กับ element
example:$("<div>", { id: "dialog", click: function ( ) { alert ( $(this).text() ); } }).appendTo ( "body" );