Re: ajax submit and IE

2009-08-28 Thread Dave Newton
Martin Gainty wrote: possibly XMLHttpRequest bug? when Underneath the UI layer you will need to match Struts (version 2) Dojo-plugin to Dojo (v 1.2) and then Dojo support for the ActiveX control Dojo 1.2? What in Quetzalcohuātl's macahuitl are you talking about? S2 uses Dojo 0.4.3; looking a

Re: ajax submit and IE

2009-08-28 Thread Mitch Claborn
;expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci > est interdite. Ce message sert à l'information seulement et n'aura pas > n'importe quel effet légalement obligatoire. Étant donné que les email > peuvent facilement être sujets à la manipulation

Re: ajax submit and IE

2009-08-28 Thread Mitch Claborn
Some possible workarounds: 1) add this to the textfield: onkeypress="return !(event && event.keyCode && event.keyCode == 13);" This is a bit of javacript that suppresses the enter key. 2) or this onkeypress="if (event && event.keyCode && event.keyCode == 13) {dojo.byId('ajaxShippingSub

ajax submit and IE

2009-08-28 Thread Mitch Claborn
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, inste