Jquery daterangepicker上的css效果不起作用
我在我的网站上使用daterangepicker,它在本地工作,但不在服务器上 HTMLJquery daterangepicker上的css效果不起作用,jquery,html,css,datepicker,Jquery,Html,Css,Datepicker,我在我的网站上使用daterangepicker,它在本地工作,但不在服务器上 HTML <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="http://code.jquery.com/
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
<link rel="stylesheet" href="/resources/demos/style.css">
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<script>
$( function() {
$( "#datepicker" ).datepicker();
} );
</script>
</head>
<body>
<p>Date: <input type="text" id="datepicker"></p>
</html>
$(函数(){
$(“#日期选择器”).datepicker();
} );
日期:
它在本地工作,但不在服务器上。这是本地服务器上的输出:
这是服务器上的输出:
您在开发工具中看到datepicker.css文件的404吗?该css文件没有任何用处。我没有使用任何css文件。它正在处理jquery和一些jquery链接和脚本。有没有任何jquery脚本或链接在您的开发工具中得到404?它正在处理这两个标记
和code.jquery.com/ui/1.12.1/jquery ui.js“>没有。我不明白css部分为什么不处理它。