Javascript examples for jQuery Method and Property:fadeOut
Remove a link
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/javascript" src="https://code.jquery.com/jquery-1.10.1.js"></script> <script type="text/javascript"> $(window).load(function(){/*from ww w .j ava 2s.co m*/ $("#userfile1").focus(function () { $('#errorDiv').fadeOut(2000); }); }); </script> </head> <body> <input type="file" name="userfile1" id="userfile1" class="span5"> <div id="errorDiv"> Must Select Image To Upload </div> </body> </html>