This site uses cookies from Google to deliver its services, to personalize ads and to analyze traffic. Information about your use of this site is shared with Google. By using this site, you agree to its use of cookies. Learn More

Clearing File Input Values

Clearing File Input Values Web-development (jquery) Clearing File Input Values

Clearing File Input Values
Clearing File Input Values



<script type="text/javascript"> function clearFileInput( id ) { var elem = document.getElementById( id ); elem.parentNode.innerHTML = elem.parentNode.innerHTML; } </script> <form method="post" enctype="multipart/form-data"> <input type="file" name="myFile" /> <input type="submit" name="s" value="Upload" /> </form> <a href="javascript:clearFileInput( 'fileInput1' );">Clear File Input Value</a> 

0 Response to "Clearing File Input Values"

Posting Komentar

Contact

Nama

Email *

Pesan *