-1
<script>
$(document).ready(function(){
$(function() {
$("#datepicker").datepicker({ minDate:1,dateFormat: 'yy/mm/dd' });
});
// on changing date initilize the countdown again
$("#datepicker").change(function(){
init($(this).val());
})
function init(dt){
$('#clock').countdown(dt).on('update.countdown', function(event) {
var $this = $(this).html(event.strftime(''
+'<span>%-d</span> day%!d '
));
});
}
//initilize counter on load with some default date
init("2016/11/25");
});</script>
<td><strong>
<%out.print("<div id=\"clock\">"+rs.getString(8)+"</div>"); %>
</strong></td>
我想打印在jsp中tag.What我應該做的,以顯示JSP的output.Please DIV幫我out.I會感謝你的良好解決方案的div內容Div標籤。包含在JSP
儘管單行'<%out.print(...);%>'我不知道爲什麼其他代碼在問題中。請格式化它使問題更具可讀性並對其他人有幫助 –