aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Clone Node Problems in IE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Clone Node Problems in IE" Watch "Clone Node Problems in IE" New topic

Clone Node Problems in IE

Arulanand Dayalan
Ranch Hand

Joined: Aug 10, 2005
Posts: 124

I am cloning an Select Box which has an Onchange function associated with it. This function takes an input parameter - id. It clones sucessfully, but onChange function is not working for the Cloned node. The same script works in FireFox but not in IE. I am trying to fix this problem for more 1 day. But couldn't. Can you provide some suggesstions to fix this issue. I am attaching test to simulate the problem. Thanks in Advance.

Eric Pascarello

Joined: Nov 08, 2001
Posts: 15376



clonedNode.onchange = function(){alert(; };

Arulanand Dayalan
Ranch Hand

Joined: Aug 10, 2005
Posts: 124
Thanks a lot. That worked out.

Don't get me started about those stupid light bulbs.
subject: Clone Node Problems in IE
Similar Threads
create a input text field
Multiple Select box Problem
cant display the table
retreive selected value of list box
Issue with displaying data back on the page