<body> <form id="form" action="download-test1.lib" target="_blank"> <input type="submit" /> </form> </body>