Laravel OnkeyUp TextBox, obtenha valor do Span JavaScript

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