lub
Skopiuj przykładowy kod.
W ramach HEAD
<SCRIPT LANGUAGE="JavaScript">
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
function mailsome1(){
who=prompt("Wpisz adres pocztowy odbiorcy: ","kowalski@firma.pl");
what=prompt("Wpisz temat listu: ","temat");
if (confirm("Czy jesteś pewien, że chcesz wysłać list do "+who+" z tematem "+what+"?")==true){
parent.location.href='mailto:'+who+'?subject='+what+'';
}
}
// End -->
</SCRIPT>
W ramach BODY
<FORM> <input type=button value="List do kogoś!" onClick="mailsome1()"> </FORM>