diff --git a/js/upload.js b/js/upload.js index 728762c..c2e8d0b 100644 --- a/js/upload.js +++ b/js/upload.js @@ -20,6 +20,10 @@ $(function(){ } else { $.data(file).addClass('done'); $.data(file).find('.linkBox').val(response.file); + $.data(file).find('.linkBox').click(function() { + this.focus(); + this.select(); + }); } // response is the JSON object that post_file.php returns },