Javascript date-picker 관련 질문입니다.

· 12년 전 · 1596
datecombo.png
제가 만드는 홈페이지에 투표 기한 설정란이 있습니다.
현재 기준으로 (1) 1년후, (2)6개월 후, (3)3개월 후, (4) 1개월 후, (5) 지정일자 의 5개 select option을 갖는 combo box 를 만들었습니다.

여기서
1년 후
6개월 후
3개월 후
1개월 후
지정일자 <= 바로 이 옆에 날자입력 date-picker의 달력그림이 뜨게 하려합니다.

Javascript가 실행하기 위한 복잡한 구문은 설명이 길어질 수 밖에 없으니 그것은 빼고 단지 달력 그림이 나오도록하는 skin구문만 가이드 부탁합니다. (그림화일 경로 설정[src= ]식 말고 Javascript달력이 '지정일자' 옵션 옆에 자연히 붙어 나오도록 하는거요)

관련 스킨구문

<td width="15%" bgcolor="white"><!-- change_open_date()를 새로 만들어야 할 듯 -->
<select style="width:100%;" name="vdate_sel" id="vdate_sel" onchange="change_open_date();">
<option name="vdate_change" value="<?=$open_date?>" checked>기한설정</option>
<option name="until_oneyear" value="<?=$until_oneyear?>">1년후</option>
<option name="until_sixmonth" value="<?=$until_sixmonth?>">6개월후</option>
<option name="until_threemonth" value="<?=$until_threemonth?>">3개월후</option>
<option name="until_onemonth" value="<?=$until_onemonth?>">1개월후</option>
<option name="until_nomidate" id="until_nomidate" value="<?=$until_nomidate?>">지정일자</option>

</select>
</td>

<td width="25%">
<input style="width:85%;" class="ed" name="open_date" id="open_date" readonly value="<?=$open_date?>">한

<input class="ed" name="open_text" id="open_text" readonly value="<?=$open_date?>" style="display:none; width:85%;">
</td>

첨부파일

datecombo.png (19.5 KB)
0회 2013-06-26 14:53
|
댓글을 작성하시려면 로그인이 필요합니다. 로그인

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
12년 전 조회 1,608
12년 전 조회 775
12년 전 조회 1,121
12년 전 조회 989
12년 전 조회 833
12년 전 조회 848
12년 전 조회 822
12년 전 조회 829
12년 전 조회 1,433
12년 전 조회 1,597
12년 전 조회 969
12년 전 조회 1,603
12년 전 조회 739
12년 전 조회 1,605
12년 전 조회 1,613
12년 전 조회 1,766
12년 전 조회 1,533
12년 전 조회 3,281
12년 전 조회 776
12년 전 조회 1,541
🐛 버그신고