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

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -