Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Working with a Select group and cloneNode in JavaScript

 
curtis ashby
Greenhorn
Posts: 14
  • 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?


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic