[Proto-Scripty] Re: Firefox document.getElementById

2009-02-15 Thread RobG



On Feb 12, 1:03 am, T.J. Crowder t...@crowdersoftware.com wrote:
 Hi,

 Details here:http://prototypejs.org/learn/extensions

The following statement in that  article is wrong:

...native objects such as HTMLElement...

HTMLElement is a *host* object, not a native object.


--
Rob
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Proto-Scripty] Re: Firefox document.getElementById

2009-02-15 Thread T.J. Crowder

Hi,

Fair point, care to file a doc ticket on it in lighthouse?

-- T.J. :-)

On Feb 15, 10:51 am, RobG rg...@iinet.net.au wrote:
 On Feb 12, 1:03 am, T.J. Crowder t...@crowdersoftware.com wrote:

  Hi,

  Details here:http://prototypejs.org/learn/extensions

 The following statement in that  article is wrong:

 ...native objects such as HTMLElement...

 HTMLElement is a *host* object, not a native object.

 --
 Rob
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Proto-Scripty] Re: Firefox document.getElementById

2009-02-11 Thread T.J. Crowder

Hi,

Details here:
http://prototypejs.org/learn/extensions

(There's a link to that from the Element API documentation page.)

HTH,
--
T.J. Crowder
tj / crowder software / com
Independent Software Engineer, consulting services available


On Feb 11, 2:57 pm, kouPhax koup...@gmail.com wrote:
 Hello,

 I am confused with something.  I had a look and seen no other posts
 about this but everytime I do a document.getElementById in Firefox I
 automatically get a fully extended Element object.  Not so in IE.  Why
 is this happening?

 e.g.

 window.onload = function(){
     document.getElementById('field-policyForm_firstName-
 label').observe;  // is a function!!!

 }

 James.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Proto-Scripty] Re: Firefox document.getElementById

2009-02-11 Thread kouPhax

Perfect.  I missed that part.

James.

On Feb 11, 3:03 pm, T.J. Crowder t...@crowdersoftware.com wrote:
 Hi,

 Details here:http://prototypejs.org/learn/extensions

 (There's a link to that from the Element API documentation page.)

 HTH,
 --
 T.J. Crowder
 tj / crowder software / com
 Independent Software Engineer, consulting services available

 On Feb 11, 2:57 pm, kouPhax koup...@gmail.com wrote:



  Hello,

  I am confused with something.  I had a look and seen no other posts
  about this but everytime I do a document.getElementById in Firefox I
  automatically get a fully extended Element object.  Not so in IE.  Why
  is this happening?

  e.g.

  window.onload = function(){
      document.getElementById('field-policyForm_firstName-
  label').observe;  // is a function!!!

  }

  James.- Hide quoted text -

 - Show quoted text -
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---