Hi All,
MY following code is not working: I am trying to execute some code on change event of Date Time field in Dynamics 365 portal which is not working. Please suggest.
$("#cyno_startdate").datetimepicker().change( function (){
var date = $("#cyno_startdate").datepicker({ dateFormat: 'dd,MM,yyyy' }).val();
});
*This post is locked for comments
Try the following for datetimepicker on change events
Field name : cyno_startdate
Event : onchange
$("#cyno_startdate").parent().on('dp.change',()=>{
// write your actions here
})
This worked for me.
HI,
Make sure your client side is same which you are using and put this function under document.ready function.
If you will share more details, I can explain in details.
Thanks,
Sandeep
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156