Hi, You should use full dom creation for your new inputs instead of innerHTML, and use prototype for manipulating Events and DOM
On Thu, Apr 8, 2010 at 2:04 AM, Albanach <alban...@gmail.com> wrote: > Hi, > > I have a form where I dynamically add extra fields. > > Here's my example code: > > http://pastie.org/908497 > > While I can use autocomplete on my first input field, I am unable to > get it to work on any fields that I add after the page loads. > > Don't suppose anyone can offer any suggestions as to how I might > achieve this? > > Thanks, > > Russell. > > -- > 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-scriptacul...@googlegroups.com. > To unsubscribe from this group, send email to > prototype-scriptaculous+unsubscr...@googlegroups.com<prototype-scriptaculous%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/prototype-scriptaculous?hl=en. > > -- 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-scriptacul...@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.