programmer138200 programmer138200 - 8 months ago 82
jQuery Question

Onshow event of datapicker

I want add class to datepicker when display. I wrote this code but don't work .

how to do this?

dateFormat: "yy/mm/dd",
changeMonth: true,
changeYear: true,
yearRange: "-100:-13",
defaultDate: "-13y",
regional: '',
isRTL: true,
onShow: function () { $("#ui-datepicker-div").addClass("DatePikerEN"); }



The onShow event isn't mentioned in the documentation. Use beforeShow instead