Hello, Can anyone see anything wrong with this function? I keep getting this error from firebug: missing ) after for-loop control function resetAllInput() { var allFields = document.getElementsByTagName("input"); for ( i=0; i<allFields.length; i++; ) { allFields.setAttribute("id","userfile"); } }
i knew it's something small like this, wasted almost 2 hours on this damn thing, need more coffee............ thanks ulquiorra