-
17 Dec 2010 7:31 AM #1
Form submits in Firefox, NOT IE
Form submits in Firefox, NOT IE
Could someone help, I have a form that is being submitted, works in Firefox NOT internet Explorer.
Here's the code that submits:
Here's the basic form:Code:resultsgridForm.getEl().dom.submit();
Code:var resultsgridForm = new Ext.BasicForm( Ext.get("resultsgrid"), { } );
Here's the FORM in the JSP being referenced above "resultsgrid":
Code:<form id="resultsgrid" action="/recoveryapp//rsGetScore.rdp?" method="get" style="display:none"> <input type="text" id="scenario" name="scenario" /> <input type="text" id="scenarioFinancialData" name="scenarioFinancialData" /> <input type="submit" value="Submit" /> </form>
-
17 Dec 2010 8:32 AM #2
I've never used Ext.get before, but I have a feeling your creation of the Ext.BasicForm isn't correct. Should you try Ext.getCmp('resultsgrid')? (Assuming resultsgrid is the id of your results grid)
I highly recommend looking at the form examples' source code to see how these objects are created/used.
-
17 Dec 2010 9:20 AM #3
Actually figured this out. Turns out the query string was a little different.... not sure why because it works fine on another page.
But I ended up changing everything from "get" to "post" so there is no query string.
It works now.
-
17 Dec 2010 9:27 AM #4
Ah, well then. I was way off haha! Glad you found an answer.
Similar Threads
-
FormPanel submits the form to wrong page (self one).
By tgreg in forum Ext 2.x: Help & DiscussionReplies: 11Last Post: 2 Dec 2008, 2:18 AM -
is there a tuttorial to make a simple form that submits?
By TheBuzzer in forum Community DiscussionReplies: 6Last Post: 12 Aug 2008, 7:51 AM -
Form submits and waits for ever on bad response
By stratis in forum Ext 1.x: Help & DiscussionReplies: 2Last Post: 23 Apr 2007, 4:34 PM


Reply With Quote