| formSerialize ( semantic ) | ใช้คืนค่า value แบบ successful ของ form ที่ถูก encoded แล้ว |
|---|
syntax:formSerialize ( semantic )
return type:string
content:ใช้คืนค่า value แบบ successful ของ form ที่ถูก encoded แล้ว ( successful หมายถึง ค่าที่จำเป็นต้องถูกส่งไปยังการ submit ) โดย semantic ถ้ากำหนด true คือต้องการให้เรียงลำดับ element เหมือนใน form ด้วย
example:var myText = $("#form").formSerialize(true);