Thanks T.J., very helpful. My final implementation is this:
catch(e)
{
document.fire('MSO:error', {ID: 'errorEventReg',
Routine:'pageReadyEvent', JSFile: 'Event.Registration.js',
Message:e.message});
}
This works nicely since the host page now can subscribe to to MSO:error
event. I'm trying to be careful to not create dependencies on external code
and resources for this one, since this is a last-line-of-defense means to
capture and give instruction to the user.
Any how thanks again, a very insightful post!
Karl..
--
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en.