20 Sep 2006 3:50 AM #1
- Join Date
- Mar 2007
- Notts/Redwood City
- Vote Rating
Needs this code:
YAHOO.util.Connect.asyncRequest(method, url, callback, params);
YAHOO.util.Connect.setForm(); YAHOO.util.Connect.asyncRequest(method, url, callback, params);
I use YAHOO.util.Connect.setForm() to create a parameter string in uurlencoded format to pass as a DWR argument.
20 Sep 2006 12:02 PM #2
asyncRequest automatically clears the form. UpdateManager doesn't need to clear it.
I understand what you are doing though. You are calling setForm from your code and using it's logic to create your form urlencoded and then not using asyncRequest so it is never cleared. Wouldn't the best solution then be for your code which is calling setForm() to clear the form after it is done?
By griffiti93 in forum Community DiscussionReplies: 2Last Post: 2 Feb 2007, 3:55 PM
By wos in forum Ext 1.x: Help & DiscussionReplies: 2Last Post: 13 Dec 2006, 6:14 AM
By techno_adi in forum Ext 1.x: BugsReplies: 4Last Post: 15 Nov 2006, 6:54 AM
By young_matthewd in forum Ext 1.x: Help & DiscussionReplies: 3Last Post: 14 Nov 2006, 11:32 AM
By angusf in forum Ext 1.x: Help & DiscussionReplies: 7Last Post: 12 Oct 2006, 8:19 PM