File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

Dynamic AJAX control

Aris Tan
Greenhorn

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
author
Rancher

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

Eric
 
 
subject: Dynamic AJAX control
 
Similar Threads
Ajax, Struts, and a few pesky event based issues
Session in HTTPServlet
document.forms[0].submit(); throws Invalid Argument in IE
Setting radio button value dynamically and rendering partially after ajax request
alert() is changing script function