我怎么了?这是代码:
<script type="text/javascript"
src="<c:url value='/resources/js/jquery-1.7.js'/>"></script>
<script type="text/javascript"
src="<c:url value='/resources/js/jquery-ui-1.8.21.custom.min.js'/>"></script>
<script type="text/javascript"
src="<c:url value='/resources/js/jquery.ui.spinner.js'/>"></script>
<script type="text/javascript"
src="<c:url value='/resources/js/myscript.js'/>"></script>
<input id="spinner" type="text" value="0" />
mysript.js 代码:
$(document).ready(function() {
$(function() {
$('#spinner').spinner({min: -100, max: 100});
});
});
它仍然不起作用
顺便说一句,它说: TypeError: this._super is not a function
this._super(键,值);
jquery...nner.js (line375)
类型错误:this._super 不是函数
this._super( 选项 );
jquery...nner.js(第 389 行)