Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <%@ taglib prefix="s" uri="/struts-tags" %>
- <%@ taglib prefix="sj" uri="/struts-jquery-tags"%>
- <html>
- <head>
- <sj:head/>
- </head>
- <body>
- <div id="formResult">
- <p>Echo : ${yourName}</p>
- </div>
- <s:form id="form" action="put">
- <s:textfield id="echo" name="yourName"/>
- </s:form>
- <sj:a
- id="ajaxformlink"
- formIds="form"
- targets="formResult"
- indicator="indicator"
- button="true"
- buttonIcon="ui-icon-gear"
- >
- Submit form here
- </sj:a>
- <img id="indicator" src="images/indicator.gif" alt="Loading..." style="display:none"/>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment