【发布时间】:2014-09-30 00:13:29
【问题描述】:
<script type="text/javascript">
$(document).ready(function() {
$('#checkin').Zebra_DatePicker({
direction: true,
show_icon:false,
format: 'M d, Y',
show_select_today:false,
pair: $('#checkout')
});
$('#checkout').Zebra_DatePicker({
direction: 1,
show_icon:false,
format: 'M d, Y'
});
});
</script>
<script>
$(function() {
$("#checkin").Zebra_datepicker();
$('.Zebra_Datepicker dp_visible').addClass('notranslate');
});
</script>
我在我的网站上使用 Zebra Datepicker,但是当我在我的网站上使用 Google Translate API 时,Google Translate 会挂起我的 Datepicker 并继续翻译需要帮助.... 我正在尝试使用上述函数向 ui-datepicker 添加没有翻译类但没有运气
【问题讨论】:
标签: javascript jquery datepicker google-translate