【发布时间】:2013-03-16 19:02:32
【问题描述】:
这是我在 HTML 中的内容:
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="/static/jslibs/jquery-ui-1.10.2.custom/css/ui-lightness/jquery-ui-1.10.2.custom.css"></script>
<title>test</title>
</head>
<body>
</body>
</html>
这就是我得到的结果:
Uncaught SyntaxError: Unexpected token .
...Here code caused exception...
.ui-helper-hidden {
display: none;
}
有人熟悉吗?
【问题讨论】:
-
不要尝试引入带有 script 标签的 CSS 文件。你还需要 jQuery for jQuery-UI
标签: javascript jquery css jquery-ui exception