I want to personalize the datepicker from jQuery. i want to add z-index:2.
$(function(){
$("#datepicker" ).datepicker({ dateFormat: "yy-mm-dd" });
$("#datepicker").css("z-index",2);
});
I know that the line "$("#datepicker").css("z-index",2);" doesn't affect datepicker, but I want smth like this. How can I do that ? Thx in advance