how to write the following code
$(function()
{
$('#datetime').datepicker({duration: '',showTime: true,constrainInput: false});
});
in javascript onclick() help me please Thanks
how to write the following code
$(function()
{
$('#datetime').datepicker({duration: '',showTime: true,constrainInput: false});
});
in javascript onclick() help me please Thanks
$('#myBtn').click(function(){
$('#datetime').datepicker({duration: '',showTime: true,constrainInput: false});
})
$("#youdbuttonid").bind("click", function(){
$('#datetime').datepicker({duration: '',showTime: true,constrainInput: false});
});