글
Page sourcecode $(function()
{
// update the firstDayOfWeek when the day of week select changes
$('#dow').bind(
'change',
function()
{
Date.firstDayOfWeek = Number(this.options[this.selectedIndex].value);
}
);
// when the choose date form is submitted grab the chosen month and year
// from the select elements and call renderCalendar...
$('#chooseDateForm').bind(
'submit',
function()
{
var month = Number(this.month.options[this.month.selectedIndex].value);
var year = Number(this.year.options[this.year.selectedIndex].value);
$('#calendar-me').renderCalendar({month:month, year:year});
return false;
}
);
});
{
// update the firstDayOfWeek when the day of week select changes
$('#dow').bind(
'change',
function()
{
Date.firstDayOfWeek = Number(this.options[this.selectedIndex].value);
}
);
// when the choose date form is submitted grab the chosen month and year
// from the select elements and call renderCalendar...
$('#chooseDateForm').bind(
'submit',
function()
{
var month = Number(this.month.options[this.month.selectedIndex].value);
var year = Number(this.year.options[this.year.selectedIndex].value);
$('#calendar-me').renderCalendar({month:month, year:year});
return false;
}
);
});
'JS > jquery' 카테고리의 다른 글
InnerFade with JQuery (0) | 2008.12.14 |
---|---|
jQuery Corner Demo (0) | 2008.12.14 |
jQuery Treeview Plugin Demo (0) | 2008.12.14 |
jQuery를 이용한 쇼핑카드 예제 (0) | 2008.12.14 |
가볍고 쉬운 Ajax - jQuery 시작하기 (0) | 2008.12.14 |
플러그인 소개 demo (0) | 2008.12.14 |
JQuery를 이용한 겸손한 탭 메뉴 구현 (0) | 2008.11.16 |
imgAreaSelect Examples (0) | 2008.11.15 |
JQuery 기초예제 (0) | 2008.11.15 |
jQuery-프로토타입, jQuery에서 간단히 충돌 피하기 (0) | 2008.11.15 |
RECENT COMMENT