THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||||
---|---|---|---|---|
| ||||
<script type="text/javascript"> function filter(field) { return field.name == "firstName"; } </script> <form id="userData"> <label for="firstName">First Name</label> <input type="textbox" id="firstName" name="firstName"> <label for="lastName">Last Name</label> <input type="textbox" id="lastName" name="lastName"> </form> <s:div href="/AjaxTest.action" theme="ajax" formId="userData" formFilter="filter"/> |
...
Code Block | ||||
---|---|---|---|---|
| ||||
<script type="text/javascript"> function handler(widget, node) { alert('I will handle this myself!'); node.innerHTML = "Done"; } </script> <s:div theme="ajax" href="/AjaxTest.action" handler="handler"/> |