Laravel onkeyup TextBox, obtenez la valeur de Span JavaScript

calculate = function(id)
{
 var qty = document.getElementById('unitCost'+id).innerText;
    alert (qty);
}
SAMER SAEID