Javascript for saving link using ctrl+s
<p>when my user clicks on image link ,it should prompt save option (instead of right click and save).I found ways to alert the user if he press ctrl +s , but how to show an save option when he click the link .below is my code which is not working. </p>

<pre><code>&lt;script type="text/javascript"&gt;
function myFunction()
{
if  (event.ctrlKey &amp;&amp; event.keyCode == 115)

{
event.keyCode = 0;
}
}
&lt;/script&gt;

&lt;input type="button" onclick="myFunction()" /&gt;
</code></pre>
