Script Categories













Forms >>> Anywhere Mail.

Use this script to allow visitors to mail anyone, at any time.

E-Mail Someone!

Add the below code to the <body> section of your page:

<script language="javascript" type="text/javascript">
/* Visit http://www.yaldex.com/ for full source code
and get more free JavaScript, CSS and DHTML scripts! */
<!-- Begin
function mailsome1(){
who=prompt("Enter recipient's email address: ","antispammer@earthling.net");
what=prompt("Enter the subject: ","none");
if (confirm("Are you sure you want to mail "+who+" with the subject of "+what+"?")==true){
parent.location.href='mailto:'+who+'?subject='+what+'';
   }
}
// End -->
</script>
<center>
<a href='javascript:mailsome1()'>E-Mail Someone!</a>
<FORM>
<input
type=button value="E-Mail Someone!" onClick="mailsome1()">
</FORM>
</center>

JavaScript Editor Get Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.



Code was highlighted by 1st JavaScript Editor (The Best JavaScript Editor!).




©