On Oct 25, 4:45 pm, "Neil.Young" <[EMAIL PROTECTED]> wrote:
> Lance Dyas ........ :)
>
> > bratliff wrote:
>
> >> "schrieb" ?  You might consider dropping it on every post.  It is kind
> >> of annoying.
> Thanks, Lance :)

Sorry - your English is much better than my German.

I believe "onreadystatechange" in an HTML tag tries to compile what it
finds in quotes.

Try:

<script src="whatever" onreadystatechange="yourfunction(this);">

which is equivalent in JS to:

    js.onreadystatechange=Function("yourfunction(this);");

I have not tried it but it might work.

Otherwise, try:

    document.getElementById("whatever");

to obtain a handle to the script.  If you are loading just one script,
you do not have to resolve the ambiguity.

The example I gave is for loading multiple scripts on the fly.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to