עכשיו הם שלחו לי את זה.
לא הבנתי איפה הם רוצים שיכנס מספר הטלפון השולח המקבל.
<script type="text/javascript">
<!--
// param - need to be someting like this: 'post=2&uid=#####&un=#####&msg=test+message&list=0545370070&from=03622222'
function sendSms(param)
{
var xhr = new XMLHttpRequest();
xhr.open("POST", 'http://www.micropay.co.il/ExtApi/ScheduleSms.php', true);
xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded; charset=UTF-8");
xhr.send(param);
xhr.onreadystatechange = function()
{
if (this.readyState == 4 && this.status == 200) {
alert(this.responseText);
}
};
}
//-->
</script>
<a href