Loading ...
Sorry, an error occurred while loading the content.

Re: How does YAHOO.util.Get.script know when the script is succesfully download?

Expand Messages
  • ikaro751
    Do you know if it is possible to load javascript with YAHOO.util.Get generated automatically through an ASP page? Best regards
    Message 1 of 3 , Jul 2, 2009
    • 0 Attachment
      Do you know if it is possible to load javascript with YAHOO.util.Get generated automatically through an ASP page?

      Best regards

      --- In ydn-javascript@yahoogroups.com, Eric Miraglia <miraglia@...> wrote:
      >
      > mikeni1225,
      >
      > Get knows that the script has loaded in A-Grade browsers because the
      > script node's load event fires.
      >
      > When you're using Get and need to support Safari 2.x, use the varName
      > field or a callback in the loaded script source to positively
      > ascertain that the script has loaded.
      >
      > http://developer.yahoo.com/yui/docs/YAHOO.util.Get.html#method_script
      >
      > Regards,
      > Eric
      >
      >
      > On Nov 7, 2008, at 1:19 PM, mikeni1225 wrote:
      >
      > > I'm wondering how does YAHOO.util.Get.script know when the script is
      > > succesfully download?
      > >
      > > My impression YAHOO.util.Get attaches a script tag to the dom correct?
      > > But how do you know when the added js file is done loading?
      > >
      > >
      > >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.