my dog learned polymorphism
The moose likes HTML, CSS and JavaScript and the fly likes Dynamic AJAX control Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Dynamic AJAX control" Watch "Dynamic AJAX control" New topic

Dynamic AJAX control

Aris Tan

Joined: Aug 05, 2005
Posts: 13
Initially, my form has two dropdowns. the contents of the second dropdown is populated via ajax

using dwr. The "Add another" link creates another instance of the dropdowns, the problem is it loses the

ajax/dwr functionality of the first.

Appreciate the help.
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
Are you adding the event handlers to the new elements?

I agree. Here's the link:
subject: Dynamic AJAX control
jQuery in Action, 3rd edition