Hi,
Datepicker jquery is not working in view return as partial view.
Hi,
Datepicker jquery is not working in view return as partial view.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Saurabh VijanPosted Apr 26, 2014, 1:20 AM
This might help !
Priya BanerjeePosted Apr 23, 2014, 2:22 AM
Datepicker jquery is not working in view which is returned as partial view.
in main view :
$(".datepicker").datepicker({
minDate: 0,
dateFormat: 'mm/dd/yy', beforeShow: function () {
$(".ui-datepicker").css('font-size', 12)
},
});
in second view:
in controller:
return PartialView(secondView);
given jquery in main view only
Srikanth ReddyPosted Apr 23, 2014, 2:00 AM