模态没有在谷歌浏览器中打开但仍然在Firefox中打开

时间:2017-01-23 11:53:14

标签: bootstrap-modal

Google Chrome中没有加载模态,但是它已在Mozilla Firefox中打开。

- > bootstrap和jQuery js被替换完成。

- >还要检查js的冲突。

- >我也一步一步地重新实现我的整个代码。

但问题仍未解决。

在控制台中显示错误:

enter image description here

1 个答案:

答案 0 :(得分:0)

下面是添加的脚本文件和CSS文件的代码序列。

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title><?php echo $site_name; ?></title>
    <!-- Custom styles for this template -->
    <link href="assests/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="assests/css/Main.css">
    <link rel="stylesheet" href="assests/css/Fr.star.css" />
    <link href="assests/css/common.css" rel="stylesheet">
    <link rel="stylesheet" href="assests/css/datepicker.css">
    <link rel="stylesheet" href="assests/js_player/simpleplayer.css" type="text/css">
    <link rel="stylesheet" href="assests/kashyap/css/fileinput.min.css">
    <link rel="stylesheet" href="assests/kashyap/css/custom-style.css">
    <link rel="stylesheet" href="assests/kashyap/css/media-query.css">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
    <script src="assests/js/bootstrap.min.js"></script>
    <script src="assests/js/bootstrap-datepicker.js"></script>
    <script src="assests/js/jquery.validate.js" type="text/javascript"></script>
    <script src="assests/kashyap/js/fileinput.min.js"></script>
    <script type="text/javascript" src="assests/js/jquery.form.js"></script>
    <script src="assests/js_player/audiojs/audio.min.js"></script>
    <script type="text/javascript" src="assests/js/jquery.creditCardValidator.js"></script>