Ultimate Web Site Drop Down Menu Forum

Ultimate Web Site Drop Down Menu Forum (http://www.udm4.com/forum/index.php)
-   Javascript (http://www.udm4.com/forum/forumdisplay.php?f=9)
-   -   Removing a form element with removeChild, doesn't work in IE (http://www.udm4.com/forum/showthread.php?t=510)

bcarl314 08-28-2007 03:21 PM

Removing a form element with removeChild, doesn't work in IE
 
I have a file input that I want to add and remove from the page. Using the following code it works perfectly in Firefox, but the file input doesn't remove when using IE (6 or 7). PHP: --------- var myFileElements = document.getElementsByName("img[]"); var count=myFileElements.length-1; for...


All times are GMT. The time now is 12:59 PM.

Powered by vBulletin® Version 3.0.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.