searchAutocomplete.jsp
上传用户:shen332233
上传日期:2021-09-03
资源大小:7478k
文件大小:1k
源码类别:

Ajax

开发平台:

Java

  1. <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 
  2. <%@ taglib uri="http://taconite.sf.net/tags" prefix="tac" %>
  3. <tac:taconiteRoot>
  4.     
  5.     <tac:replaceChildren contextNodeID="popup" parseOnServer="true">
  6.         
  7.         <c:forEach var="result" items="${results}">
  8.             <div onmouseover="hilite(this);" onmouseout="unhilite(this);">
  9.                 <a href="${result.url}" class="autocomplete" target="_blank">
  10.                     ${result.title}
  11.                 </a>
  12.             </div>
  13.         </c:forEach>
  14.                        
  15.     </tac:replaceChildren>
  16.     
  17. </tac:taconiteRoot>