Javascript examples for jQuery:Form Button
click the button and pop up a division/window
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/javascript" src="https://code.jquery.com/jquery-1.6.2.js"></script> <script type="text/javascript"> $(window).load(function(){/*from w ww . j a v a 2 s . c o m*/ $("#clickme").live("click", function() { $("#divtobeshown").show(); }); }); </script> </head> <body> <input type="submit" id="clickme"> <div id="divtobeshown" style="display:none"> <input type="file"> </div> </body> </html>