Hi robert,

It's hard to guess your problem, but, javascript are loaded
synchronously, so that not the reason.
If you have an exemple, I could help you? a little bit more !?

--
david

On 16 fév, 23:31, chienr <chi...@gmail.com> wrote:
> Hi,
>
> Intermittently, I get a browser popup error that says:
>
> ========================================================
> RJS error:
>
> TypeError: Value undefined (result of expression Element.insert) is
> not object.
> ========================================================
>
> My suspicion is that since included javascripts are loaded
> asynchronously, sometimes prototype.js doesn't finish loading before
> the page.insert_html is called. Does it sound right? If so, I suppose
> the solution involves testing whether Element.insert is defined, and
> if not, wait a little while and test again. What's the best way to do
> this as there's no sleep() in javascript?
>
> Any assistance is appreciated.
>
> Thanks,
> Robert
--~--~---------~--~----~------------~-------~--~----~
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 prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to