开发者

How to use jQuery autocomplete correctly?

开发者 https://www.devze.com 2023-04-11 03:27 出处:网络
I am trying to use autocomplete from http://dev.jquery.com/view/trunk/plugins/autocomplete/jquery.autocomplete.js

I am trying to use autocomplete from

http://dev.jquery.com/view/trunk/plugins/autocomplete/jquery.autocomplete.js

but am getting this error. textbox is the id of the input field where autocomplete should happen:

How to use jQuery autocomplete correctly?

I have tried to foll开发者_运维问答ow the example given on this page. What am I doing wrong here?


Getting the same error on using ready:

How to use jQuery autocomplete correctly?


I think, you have NOT included the script yet. Put this in the head of your page and test.

<script  src="http://dev.jquery.com/view/trunk/plugins/autocomplete/jquery.autocomplete.js"/>


include jquery.js and autocomplete.js on the top of page and write the code inside

$(document).ready(function(){
// right here
});
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号