場景:點擊datepicker總是會點中后面的button
原因:datepicker的z-index=1
,而jQuery mobile為button設置的z-index=2
解決方案:覆蓋datepicker的z-index
樣式
.ui-datepicker
{
z-index: 3 !important;
}
場景:點擊datepicker總是會點中后面的button
原因:datepicker的z-index=1
,而jQuery mobile為button設置的z-index=2
解決方案:覆蓋datepicker的z-index
樣式
.ui-datepicker
{
z-index: 3 !important;
}