# How Can I make a Button? URGENT PLEASE

**URL:** <https://forum.kirupa.com/t/how-can-i-make-a-button-urgent-please/197735>\
**Category:** Uncategorized\
**Created:** [August 18, 2006, 4:38pm UTC](https://forum.kirupa.com/t/how-can-i-make-a-button-urgent-please/197735 "2006-08-18T16:38:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![steresa](https://avatars.discourse-cdn.com/v4/letter/s/e68b1a/32.png) [@steresa](https://forum.kirupa.com/u/steresa)\
**Post date:** [August 18, 2006, 4:38pm UTC](https://forum.kirupa.com/t/how-can-i-make-a-button-urgent-please/197735/1 "2006-08-18T16:38:10Z")

</div>

How can I make a button so when you click on it, a PDF file downloads into another page?  
Right now, I have created a button and have attached the following code

on (press) {  
getURL(“My File.pdf”, “\_blank”);  
}
