Bootstrap 日期选择器在 IE8 中没有响应 [英] Bootstrap datepicker not responding in IE8

查看:20
本文介绍了Bootstrap 日期选择器在 IE8 中没有响应的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Bootstrap Datepicker Not Working 中遇到了类似的问题.我遵循了放置的解决方案document.ready() 中的日期选择器代码为

I have similar issue like in Bootstrap Datepicker Not Working .I followed the solution of putting datepicker code in document.ready() as

$(function(){ $('#datepicker').datepicker(); });

但是,仍然在单击日期选择器图标时,它显示停止脚本运行..."弹出.我使用的是 jquery 1.8.3 版本和引导程序版本 2.1.1.它在 Jquery 版本 1.8.1 中工作正常.jquery 1.8.3版本需要做哪些改动

But,still on clicking datepicker icon, it is showing "Stop script running..." pop up.I am using jquery 1.8.3 version with bootstrap version 2.1.1.It is working fine in Jquery version 1.8.1.what change needs to be done for jquery version 1.8.3

推荐答案

这是 2012 年 9 月原始版本中的一个错误.编码人员已经分叉了该项目并进行了修复/改进 - 其中之一就是这个 IE 7/8错误...

This was a bug in the original release in September 2012. Coders have since forked the project and made fixes/improvements - one of them being this IE 7/8 bug...

https://github.com/eternicode/bootstrap-datepicker/issues/144

基本上,下载最新的 Master 构建内容,你应该很高兴.

Essentially, download the latest Master build contents and you should be good to go.

这篇关于Bootstrap 日期选择器在 IE8 中没有响应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆