<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Struts 2 AJAX</title>
<sx:head theme="ajax" />
</head>
<body>
<h2>
Autocompleter
</h2>
<s:form action="autocompleterForm">
<tr>
<td class="tdLabel">
<label class="label">
AJAX Autocompleter:
</label>
</td>
<td>
<s:url id="dataUrl" value="/json/Autocompleter.action" />
<sx:autocompleter theme="ajax" name="start" href="%{dataUrl}"
loadOnTextChange="true" loadMinimumCount="1" indicator="indicator"
autoComplete="false" showDownArrow="false" />
<img id="indicator" src="" style="display:none" />
</td>
</tr>
</s:form>
</body>
</html>
dojo实现autocomplete
最新推荐文章于 2024-09-14 11:27:21 发布