답변 2개
아래 코드로 사용해 보세요.^^
<?php include_once(G5_PLUGIN_PATH.'/jquery-ui/datepicker.php'); ?>
<script>
$(function(){
$("#wr_1").datepicker({
changeMonth: true,
changeYear: true,
dateFormat: "yy-mm-dd",
showButtonPanel: true,
yearRange: "c-99:c+99",
maxDate: "+365d"
});
});
</script>
<tr>
<th scope="row">날짜</th>
<td>
<input type="text" id="wr_1" name="wr_1" class="frm_input" style="width:72px;" readonly value="<?php echo $write["wr_1"]; ?>">
</td>
</tr>
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인