$(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(''
+'%-d day%!d '
));
});
}
//initilize counter on load with some default date
init("2016/11/25");
});
"+rs.getString(8)+""); %>
I want to print the div content in jsp tag.What i should do to display div in jsp's output.Please help me out.I would appreciate your good solutions.
解决方案
You don't have to use:
"+rs.getString(8)+"