Ciao a tutti
avrei bisogno che qualcuno mi spiegasse come posso fare per far in modo che cliccando sul bottone invia, i campi riempiti arrivino all indirizzo email da me inserito. So che devo usare php o meglio ajax ma non so implementarlo nella mia pagina. Posto qui il codice della pagina . Grazie mille
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title></title>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body>
<table style="height:750px" cellspacing="0" cellpadding="0" align="center">
<tr>
<td style="width:50%;"></td>
<td style="width:766px;">
<table style="width:766px;" cellspacing="0" cellpadding="0">
<tr>
<td style="height:669px">
<table cellspacing="0" cellpadding="0">
<tr>
<td style="width:303px;">
<table cellspacing="0" cellpadding="0">
<tr>
<td style=" background:url(images/bg-col.jpg) bottom right no-repeat">
[img]images/logo-1.jpg[/img]
<div style="margin-left:85px; margin-top:78px">[img]images/l1.jpg[/img]
[img]images/l2.jpg[/img]
[img]images/l3.jpg[/img]
[img]images/l4.jpg[/img]
[img]images/l5.jpg[/img]
[img]images/l6.jpg[/img]</div>
</td>
</tr>
</table>
</td>
<td style="width:463px;">
<table style=" background:url(images/bg-bot.gif) bottom no-repeat" cellspacing="0" cellpadding="0">
<tr>
<td style="height:120px">
<div class="s_text" style="margin:96px 0px 0 278px">
Home page | Negozio | Prodotti </div>
</td>
</tr>
<tr>
<td style="height:549px; background:url(images/bg-top.gif) top no-repeat">
<table cellspacing="0" cellpadding="0">
<tr>
<td style="height:335px">
<table style="width:442px; height:165px; margin-left:13px; margin-top:12px" class="top-k" cellspacing="0" cellpadding="0">
<tr>
<td class="top-k2">
<table class="bot-k" cellspacing="0" cellpadding="0">
<tr>
<td class="bot-k2">
<div class="lh" style="margin:4px 15px 0 5px">
[img]images/7-p1.jpg[/img]
[img]images/7-t1.gif[/img]
<br style="line-height:16px">
<strong class="h_text">Contattaci[/b] direttamente o vieni a trovarci nel nostro negozio on-line.Qui potrai acquistare direttamente i nostri prodotti.
Le spese di spedizione sono gratuite.
<br style="line-height:4px">
Oppure compila il nostro Form per ricevere informazioni siamo a tua disposizione.....
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
[img]images/7-t2.jpg[/img]
<table class="no_class" cellspacing="0" cellpadding="0">
<tr>
<td style="width:249px;">
<div style="margin:9px 0px 0 39px">
<strong class="h_text">Contatti:[/b]
Telephone:
E-mail: <a href="mailto: </a>
<strong class="h_text">Negozio On-line:[/b]
Ebay: Vieni a trovarci </div>
</td>
<td style="width:214px;">
<div style="margin:9px 0px 0 0px">
</div>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td >
<table style="width:442px; height:200px; margin-left:13px; " class="top-k7" cellspacing="0" cellpadding="0">
<tr>
<td class="top-k2">
<table class="bot-k" cellspacing="0" cellpadding="0">
<tr>
<td class="bot-k2">
[img]images/7-t3.jpg[/img]
<br style="line-height:5px">
<form id="form1" action="" enctype="multipart/form-data" name="form1">
<table class="no_class" cellspacing="0" cellpadding="0">
<tr>
<td style="width:221px;">
<div class="form"><input type="text" value="Nome:" style="margin-left:19px"></div>
<div class="form"><input type="text" value="Cognome:" style="margin-left:19px"></div>
<div class="form"><input type="text" value="Telefono:" style="margin-left:19px"></div>
<div class="form"><input type="text" value="E-mail:" style="margin-left:19px"></div>
</td>
<td style="width:221px;">
<textarea rows="40" cols="50" onClick="this.value=''">Messaggio:</textarea>
<br style="line-height:7px">
[img]images/a3.gif[/img]reset
[img]images/a3.gif[/img]invia
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="height:81px">
<div class="c_text" style="margin:27px 0px 0 88px"><span class="c_text" style="margin:198px 0px 0 156px">Copyright 2007 Terms of Use | Privacy Policy</span></div>
</td>
</tr>
</table>
</td>
<td style="width:50%;">
<table cellspacing="0" cellpadding="0">
<tr>
<td style="height:120px"></td>
</tr>
<tr>
<td style=" background:url(images/bg-right.gif) repeat-x"></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>