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

Re: YUILoader + YAHOO.util.Element

Expand Messages
  • agentorangejdm
    ... Where is the script placed within the page ?
    Message 1 of 4 , Jun 2, 2008
      --- In ydn-javascript@yahoogroups.com, "zapo86r" <gms8994@...> wrote:
      >
      > I have code like this: http://pastebin.dp.cx/139
      >
      > When run on a page like this: http://pastebin.dp.cx/140
      >
      > The following is output to Firebug console:
      >
      > 11:13:22 AM (0ms): global: Logger output to the function
      > console.log() has been enabled.
      > 11:13:22 AM (0ms): AttributeProvider: element not found
      > 11:13:22 AM (16ms): AttributeProvider: element not found
      > 11:13:22 AM (0ms): Attribute: setValue element, doc failed: read only
      >
      > It seems to be complaining about
      > var el = new YAHOO.util.Element('doc');
      >
      > because at the time this is run, #doc doesn't exist. From the way the
      > docs explain, it should hold the information until that object is
      > loaded, but maybe the loader changes that behavior.
      >
      > Any help would be appreciated!
      >

      Where is the script placed within the page ?
    • zapo86r
      ... At the end of the head section.
      Message 2 of 4 , Jun 2, 2008
        > Where is the script placed within the page ?
        >

        At the end of the head section.
      Your message has been successfully submitted and would be delivered to recipients shortly.