I thought only the AjaxObserveField that triggered the update would execute the onComplete script.

Are all the AjaxObserveFields inside the AjaxUpdateContainer calling their onComplete script?



On Jul 9, 2009, at 12:26 PM, Frank Stock wrote:

Hi,

I want to select the next field after an AjaxUpdate. The Ajaxupdate is triggered from an AjaxObserveField. But I see if I use 'onComplete' or 'OnSucces' that this is executed every time. So if I include OnSuccess="document.getElementById('myElement1').focus()", after the reload(AjaxUpdate), all the AjaxObserveField-elements will execute that, so always the last field is selected.
How can I solve that?

Thanks,
Frank Stock
Belgium

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/rparada %40mac.com

This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to