Hi,

With questions like this, it helps to post the code that isn't
behaving as you expect.

Guessing at it, though, two possible answers:

1. If you're setting innerHTML or calling update(), you need to give
the browser a moment to do the work before you go looking for that
content in the DOM.  Function.defer[1] is useful for this.

2. If you've retrieved a collection of things (e.g., via $$() or some
such), that is *not* a live collection -- modifications are not
reflected in the collection.  (Many -- most? all? -- DOM collections
are live, but Prototype's are not.)  You'll have to do a new $$() or
what-have-you.

HTH,
--
T.J. Crowder
tj / crowder software / com

On Oct 15, 11:21 am, aperrin <[EMAIL PROTECTED]> wrote:
> Hello,
>
> In a form page, i add input, checkbox, ... dynamically with prototype.
> After i want to retrieve the elements of the form and dynamic element
> of the form is'nt in the collection.
>
> Is it normal ?
> Which is the way to retrieve this dynamic element ?
>
> Best regards
>   Anthony
--~--~---------~--~----~------------~-------~--~----~
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