method:YAHOO.widget.Calendar ( id, container, config )
return type:Calendar
content:ใช้สร้าง object Calendar
example:var config = { pagedate: "1/2009", mindate: "1/5/2009", maxdate: "1/15/2009" };
var calendar = new YAHOO.widget.Calendar ( "table", "container", config );
calendar.render ( );
comment:ตัวแปร id คือ id ของ table ที่ต้องการให้เป็น Object Calendar
ตัวแปร container คือ id ของ div หรือ div element ที่จะเป็นที่วาง Object Calendar นี้
ตัวแปร config คือ ใช้กำหนดคุณสมบัติให้กับ object เช่น close, iframe, mindate เป็นต้น