Jquery mobile JQuery Mobile:Spinbox脚本文件抛出错误
我在使用提供的脚本实现时遇到问题。我得到以下错误:Jquery mobile JQuery Mobile:Spinbox脚本文件抛出错误,jquery-mobile,Jquery Mobile,我在使用提供的脚本实现时遇到问题。我得到以下错误: Uncaught TypeError: Cannot read property 'widget' of undefined 在spinbox.js文件的a.mobile.widget行上: <script type="text/javascript" src="http://dev.jtsage.com/cdn/spinbox/latest/jqm-spinbox.min.js"></script> 检查该小部件
Uncaught TypeError: Cannot read property 'widget' of undefined
在spinbox.js文件的a.mobile.widget
行上:
<script type="text/javascript" src="http://dev.jtsage.com/cdn/spinbox/latest/jqm-spinbox.min.js"></script>
检查该小部件的兼容性。看起来它与jQuery1.9不兼容。
<div data-role="fieldcontain">
<label for="spin">Input spinner</label>
<input type="text" data-role="spinbox" name="OtherTravelersCount" id="OtherTravelersCount" value="60" min="0" max="100" runat="server"/>
</div>
Uncaught TypeError: Cannot read property 'widget' of undefined jqm-spinbox.min.js:7
Uncaught TypeError: undefined is not a function spinbox.js:125
Uncaught TypeError: undefined is not a function spinbox.js:125