View Single Post
Unread 08-28-2007, 03:21 PM
bcarl314 bcarl314 is offline
Senior Member
Join Date: Aug 2007
Posts: 141
  #1  
Default 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...
Reply With Quote