Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Working with a Select group and cloneNode in JavaScript

curtis ashby
Posts: 14
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi experts,
I'm banging my head against the wall on this one and request your assistance.

I have script that creates a form from another pages form and i'm using the cloneNode method javascript.
The problem i have is that when I clone the select groups the currently selected option is lost and i am re-setting the selected option using the selectedIndex property and then writing to the new form with innerHTML. This seams to work in IE but not in Firefox/Chrome/Safari. Any suggestions?

I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic