.autocomplete is not a function Error

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_30581017/article/details/79977118

在head里加上如下css和js,或者将url改为本地的文件路径

<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>

猜你喜欢

转载自blog.csdn.net/qq_30581017/article/details/79977118
今日推荐