PDA

View Full Version : Using a button as a link


Christy
05-12-2005, 06:49 AM
Using a button as a link
Use this code to use a button as a link. Value=what you want the button text to say. Replace somefile with your file name.
See the example below

lt;input type="button" value="Get File"
onClick="window.location.href='somefile.pdf';" /gt;