Using an ajax/dojo submit tag to do an ajax form submission.  Code
below.  theme = css_xhtml.  In FireFox it works like I want - the output
from the form post goes inside the target div.  In IE, if you press
Enter in the text field, it submits the form and the output replaces the
entire page, instead of only the target div.  If you click the button in
IE it works as it should.

Any ideas?


<s:form action="shippingCostsAjax" method="post" id="shipzipform"
name="shipzipform">
  <s:textfield name="shipzip" id="shipzip" size="8" label="Enter your
ship-to zipcode to view shipping costs" labelposition="left" />
  <sx:submit name="ajaxShippingSubmit" id="ajaxShippingSubmit"
targets="shippingDiv" value="Get Shipping Costs" formId="shipzipform"
align="left" ajaxAfterValidation="true" executeScripts="true"
separateScripts="true" />
</s:form>


Mitch



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to