0
遗漏的类型错误:$(...)羊驼不是一个函数(...)ALPACA错误时尝试加载一个页面
我正在试图与羊驼加载HTML页面时收到错误
<!-- alpaca -->
<script src="//code.cloudcms.com/alpaca/1.5.22/bootstrap/alpaca.min.js"></script>
<link href="//code.cloudcms.com/alpaca/1.5.22/bootstrap/alpaca.min.css" rel="stylesheet" />
</head>
<body>
<div id="form"></div>
<script type="text/javascript">
$("#form").alpaca({
"schema": {
"title":"User Feedback",
"description":"What do you think about Alpaca?",
"type":"object",
"properties": {
"name": {
"type":"string",
"title":"Name"
},
"feedback": {
"type":"string",
"title":"Feedback"
},
"ranking": {
"type":"string",
"title":"Ranking",
"enum":['excellent','ok','so so']
}
}
}
});
</script>
</body>
这是我的代码。
我不知道该怎么办的错误。
请帮我清除这个错误。
在此先感谢