fui alli y realice este codigo:
Código HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Documento sin título</title> <script> <!-- var W3CDOM = (document.createElement && document.getElementsByTagName); function init() { if (!W3CDOM) return; var fakeFileUpload = document.createElement('div'); fakeFileUpload.className = 'fakefile'; fakeFileUpload.appendChild(document.createElement('input')); var image = document.createElement('img'); image.src='pix/button_select.gif'; fakeFileUpload.appendChild(image); var x = document.getElementsByTagName('input'); for (var i=0;i<x.length;i++) { if (x[i].type != 'file') continue; if (x[i].getAttribute('noscript')) continue; if (x[i].parentNode.className != 'fileinputs') continue; x[i].className = 'file hidden'; var clone = fakeFileUpload.cloneNode(true); x[i].parentNode.appendChild(clone); x[i].relatedElement = clone.getElementsByTagName('input')[0]; if (x[i].value) x[i].onchange(); x[i].onchange = x[i].onmouseout = function () { this.relatedElement.value = this.value; } } } // --> </script> </head> <body> <form name="formulario"> <div class="fileinputs"> <input type="file"> </div> </form> </body> </html>
Desde ya gracias por los aportes.
Saludos.
![Adios](http://static.forosdelweb.com/fdwtheme/images/smilies/adios.gif)