no devo solo far mandare gli SMS ho trovato questo
che va bene
devo agg il tasto + per mettere +39
oppure che il campo dove inserisco i numeri abbia di default +39 (ho provato a metterlo come valore iniziale ma quando clicco i num mi si cancella
<html>
<title>Invia i tuoi messaggi SMS</title>
<head>
<script language="JavaScript">
var phone_num='';
var timerID = null;
var timerRunning = false;
function but1()
{
phone_num = phone_num + '1';
chknum();
}
function but2()
{
phone_num = phone_num + '2';
chknum();
}
function but3()
{
phone_num = phone_num + '3';
chknum();
}
function but4()
{
phone_num = phone_num + '4';
chknum();
}
function but5()
{
phone_num = phone_num + '5';
chknum();
}
function but6()
{
phone_num = phone_num + '6';
chknum();
}
function but7()
{
phone_num = phone_num + '7';
chknum();
}
function but8()
{
phone_num = phone_num + '8';
chknum();
}
function but9()
{
phone_num = phone_num + '9';
chknum();
}
function but0()
{
phone_num = phone_num + '0';
chknum();
}
function chknum()
{
document.phone.pn.value=phone_num;
}
function clearit()
{
phone_num = "";
document.phone.pn.value=phone_num;
}
</script>
</head>
<body>
<center>
<form name="phone">
<input name=pn type=text>
<textarea name="textarea" cols="19"></textarea>
<input type=button value=" 1 " onclick="but1()">
<input type=button value=" 2 " onclick="but2()">
<input type=button value=" 3 " onclick="but3()">
<input type=button value=" 4 " onclick="but4()">
<input type=button value=" 5 " onclick="but5()">
<input type=button value=" 6 " onclick="but6()">
<input type=button value=" 7 " onclick="but7()">
<input type=button value=" 8 " onclick="but8()">
<input type=button value=" 9 " onclick="but9()">
<input type=button value=" 0 " onclick="but0()">
<input type=button value="Clear" onclick="clearit()">
</form></center>
</body></html>