をロード入力に:jQueryのオートコンプリートは、私はアヤックスを使用してロードされた入力ボックスにjQueryのオートコンプリートのプラグインを使用したいコンテンツ
$(document).ready(function() {
$('#auto').live('keydown', function(){
$(this).autocomplete(
"/autocomplete",
{
delay:10,
minChars:2,
matchSubset:1,
matchContains:1,
cacheLength:10,
onItemSelect:selectItem,
onFindValue:selectItem,
formatItem:formatItem,
autoFill:true
});
});
});
私のコードに何か問題があると教えてください。
おかげで、
$( "#auto")を試してみませんか? ; ? –