On Oct 28, 2:22 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> i try many times but i i get always  "undefined"
>
> when i try this
>
> alert($(sourceid).select('entry').innerHTML);
> or this
> alert($(sourceid).select('RECHNUNGID').innerHTML);
> or this
> alert($(sourceid).select('RECHNUNGID').valu;
>
> :(

`select` returns an array and array does *not* have `innerHTML`
(unless you add it explicitly to its `prototype`). Moreover, it parses
string (that you pass to it) as a selector:

alert($(sourceid).down('#RECHNUNGID').innerHTML;

[snip]

--
kangax
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to