hi i'm trying to download a file in the joomla front end. in my default template i use php code for that. the code is
<form><input type="button" value="Download Now" onClick="window.location.href='<?php echo $full;?>'">
where $full
is the full path=http://localhost/joomla/images/uploads/images22.jpeg
. but this only displaying the file in the browser not downloading it. what should i change for making the button click to download ?