This is a discussion on "Clone Select - Rename not working in IE" within the JavaScript Forum section. This forum, and the thread "Clone Select - Rename not working in IE are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Clone Select - Rename not working in IE
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Clone Select - Rename not working in IE
Hi all,
i've got a small problem in IE in which i have a script which clones a select list and then dynamically adds to the page and renames. In which it is imperative it renames as it will be pulled through a form into asp. The problem lies in which if i clone once then the name is correct yet if i clone more than once then the previous clones names reset to the clones name and only the last cloned select has the proper name. e.g. sel_0 sel_0 sel_2 when it should be sel_0 sel_1 sel_2 This works fine in FF but not in IE. Any ideas why? or a work around? Also the select list in the final code will be generated server side.
|
|
|
|
||||
|
Re: Clone Select - Rename not working in IE
Okay, you can fix this by using the following code to set the name
This will mean the name will update correctly. Cheers
Last Blog Entry: The wannabe juggler's quest (Oct 27th, 2007)
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| chained select box dependable select | thenamenoonehastaken | JavaScript Forum | 0 | Feb 8th, 2008 05:49 |
| Forum Rename | JacobHaug | Flash & Multimedia Forum | 3 | May 27th, 2007 19:51 |
| Help Please Select Max Not Working | rosh1e | PHP Forum | 3 | May 13th, 2007 19:11 |
| styling a select box, using php, ..not working...need help | sambkk | Web Page Design | 0 | Feb 5th, 2007 19:22 |
| rename column name | simonneaves | Databases | 2 | Nov 11th, 2005 00:08 |