Ver Mensaje Individual
  #5 (permalink)  
Antiguo 04/08/2015, 14:06
head777
 
Fecha de Ingreso: octubre-2008
Mensajes: 101
Antigüedad: 15 años, 6 meses
Puntos: 1
De acuerdo Respuesta: Input id="upload-file"... No se muestra?

Hola, buenas tardes.

He logrado solucionar el problema y lo comparto, esperando que a alguien mas le sirva.

Código:
<html>

<head>
<form id="form" action="index.php" method="post">
<input id="upload-file" name="upload-file" type="file"/>


    <title></title>    
	<script type="text/javascript">
	
    document.getElementById("upload-file").onchange = function() {
    document.getElementById("form").submit(); }
	
	
	$(document).ready(function(){
		
	var description = 'Feel free to listen all the music anytime, 
        and if you want to add more music to the playlist, 
        do it <a id="fileupload" onClick=$("#upload-file").click()> here.</a>';