Help the newcomer, in the call-center when you call, a page opens, and using the API, the number is written into this tag
input type="text" name = "number" maxlength = "20" size = "20" style = "font-size:14px; onclick="fun()" value="?=$_GET['call_numb']? the problem is that it’s not like no mage to remove the first digit zero. 0506314752 wrote this script, but it is not
if(a>1) { a = a.substr(1); } alert('<?=$_GET['call_numb']?> : ' + a); } This is a function when pressed, but does not delete, it is necessary to insert a number when calling as api.
... value="<?= +$_GET['call_numb']?>, if it is assumed that you have only digits in the line. - teran