Click here to Skip to main content
15,885,633 members

Comments by Zubair SE (Top 21 by date)

Zubair SE 29-Jun-17 8:07am View    
@Html.TextBox("Test", "", new { @class = "form-control", id = "datetimepicker4", type = "text" })

$('#datetimepicker4').datetimepicker({timeFormat: 'hh:mm:ss p'});
Zubair SE 29-Jun-17 7:35am View    
There are two Jquery libs omit one
all seem ok, but datetimepicker function is undefined,
dont remove this code

$.New(document).ready(function () {
$.New('#datetimepicker4').datetimepicker();
});
add its plugin.js file
and also images are missing, follow/download the complete package please.
and remove this plz
var $Original = jQuery.noConflict(true);


var $New = jQuery.noConflict(true);
$ = $Original;
jQuery = $Original;
$.New = $New;
Zubair SE 29-Jun-17 7:31am View    
https://eonasdan.github.io/bootstrap-datetimepicker/
further can go with this, thanks
Zubair SE 29-Jun-17 7:08am View    
you are needed to share your piece of code please.
Html and the client side script, thanks
Zubair SE 29-Jun-17 6:48am View    
yes