我只使用Theme Roller并下载我无法实现的主题 我尝试导入文件,但是当我添加日期选择器的输入时,它仍然只是文本框...如何使用这个我只需要“Datepicker”我做错了什么? 感谢任何帮助。
<html>
<head>
<script src="~/Content/jquery.js"></script>
<link href="~/Content/jquery-ui.min.css" rel="stylesheet" />
<script src="~/Content/jquery-ui.min.js"></script>
<link href="~/Content/jquery-ui.structure.min.css" rel="stylesheet" />
<link href="~/Content/jquery-ui.theme.min.css" rel="stylesheet" />
<title>Test</title>
</head>
<body>
<div>
<input id="date" type="text" />
</div>
</body>
</html>
<script>
$(function() {
$('#date').datepicker();
});
</script>
最佳答案
这些足以使自定义 ThemeRoller 工作(当然还添加图像)
<link href="~/jquery-ui.min.css" rel="stylesheet" />
<script src="http://code.jquery.com/jquery-1.10.2.js"></script>
<script src="http://code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
希望它能对其他正在寻求 jQuery UI 自定义 ThemeRoller 实现的人有所帮助。
关于javascript - 使用 jQuery UI ThemeRoller 自定义主题实现问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36103760/