ExecuteJavaScript Order

Is there any differences between calling:

Session.ExecuteJavaScript
myControl.ExecuteJavaScript

Are they all queued up in the order they’re called, Or do they get ordered together base on the control calling the method?

They’re queued in the order they are called. Fwiw, WebControl.ExecuteJavascript calls through to the session version, so there really is no difference.

Perfect, thanks Greg.

I’ve wrapped pretty much all of the JqueryUi library now and I built a way to “record animations” and have them loop but it relies on capturing that javascript in order and putting it in a looping method client-side.