我得到錯誤,例如TypeError: $(...).draggable is not a function
。 所以,我包括jQuery的喜歡,
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js"></script>
當我有這個API它顯示了像其他錯誤,TypeError: $.browser is undefined
我coudn't找到解決方案。任何建議?
添加jQuery UI庫。參考這個https://jqueryui.com/draggable/ –
也許你應該使用最後的穩定版本,jQuery(1.11.3),jQueryUI(1.11.4) – Anonymous0day
只是檢查這個答案。你需要添加瀏覽器代碼http://stackoverflow.com/a/17495060/2006386 –