Monday 20 June 2011 12:08:53 pm
Good evening,
I set up the extension ezfind. The auto-completion works on my text field, but I would look on one class. (Article). But all classes are displayed. Indicate how this class? My js:
<script type="text/javascript">
jQuery('#ezautocompletecontainer').css('width', jQuery('input#searchtext').width() + 60);
var ezAutoHeader = eZAJAXAutoComplete();
ezAutoHeader.init({ldelim}
url: "{'ezjscore/call/ezfind::autocomplete'|ezurl('no')}",
inputid: 'SearchText',
containerid: 'ezautocompletecontainer',
minquerylength: {ezini( 'AutoCompleteSettings', 'MinQueryLength', 'ezfind.ini' )},
resultlimit: {ezini( 'AutoCompleteSettings', 'Limit', 'ezfind.ini' )}
{rdelim});
</script> My div:
<div class="search">
<input type="text" id="SearchText" name="SearchText" class="text_search ac_input" value="Rechercher" />
<div id="ezautocompletecontainer"></div>
</div> Someone had this problem?
|