You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
عرض سلام و قدردانی
سوالی که وجود داره اینه که چرا در متغیر
inst['selectedMonth']
همیشه یک ماه قبل رو تو خودش ذخیره میکنه، مثلا اگه یازده اردیبهشت رو انتخاب کنید، توی این متغیر یک ریخته میشه بجای دو .
نمونه کد رو همینجا میذارم :
عرض سلام و قدردانی
سوالی که وجود داره اینه که چرا در متغیر
inst['selectedMonth']
همیشه یک ماه قبل رو تو خودش ذخیره میکنه، مثلا اگه یازده اردیبهشت رو انتخاب کنید، توی این متغیر یک ریخته میشه بجای دو .
نمونه کد رو همینجا میذارم :
$().ready(function(){
$("#date").datepicker({
isRTL: true,
dateFormat: "d/m/yy",
onSelect: function (dateText, inst) {
alert(inst['selectedMonth']);
}
});
});
The text was updated successfully, but these errors were encountered: