본문 바로가기

Programming/HTML & JAVASCRIPT

[Javascript] table td 특정 이벤트 중 첫 번째 실행

table td 특정 이벤트 중 첫 번째 실행


var InitCalendar = function () {

            var firstCell = $('#cbpStartDate table tbody td[onclick]:first');

            if (firstCell.length > 0) {

                firstCell.click();

            }

        };