jquery ui - <sj:autocompleter> on text change -
i using jquery autocompleter populated ajax action returning json object.
the problem when enter text, see whole list, if set "autocomplete" "true".
how display strings corresponding enter?
this jquery autocompleter :
<s:url id="payslist" action="payslist" namespace="/ajax"> <s:param name="nameregion">europe</s:param> </s:url> <label for="nompays_0"> <s:text name="label.namecountry" /> </label> <br> <sj:autocompleter name="nompays[0]" id="nompays_0" forcevalidoption="true" key="label.namecountry" href="%{payslist}" />
did put <sj:head/>
tag in <head>
section ?
<head> <sj:head jqueryui="true"/> </head>
as described in official documentation ?
otherwise, try using onchangetopics
described in official showcase;
click on widgets -> autocompleter -> autocompleter json, take @ jsp , javascript code
Comments
Post a Comment