SQLite How to by Tag:
You can use this: $("#upload")[0].files; ...
http://jsfiddle.net/JcG3k/2/ $("#vfb-7").change(function () { var fileName = $(this).val(); $("#filename-7").html(fileName); if (fileName != "") $(this).closest('li').next('li').show(); }); ...
If you create the image with correct classes that already exists in your .css file it should automatically apply the correspondent styles. Also, don't forget to correctly close the body...
After playing around some more I finally got it working by making the input a child of the Upload button element. I had to make the upload button a div...
Add a change event to the input field, and then just get it's .value. Example (using jQuery): $('input[name="uploadfile"]').change(function(){ var fileName = $(this).val(); alert(fileName); }); DEMO: http://jsfiddle.net/hjNEC/2/ EDIT: Since the input...
Try this code: DEMO JS: $('input').change(function(){ $(this).attr('title',($(this).val())); }); ...