LANDLORD Home » source code » Ambil Nilai Span Javascript di PHP Ambil Nilai Span Javascript di PHP Friday, January 13, 2017 Contoh kasus ada script seperti ini :<span id="spanTotalInfo" style="font-weight: bold"></span> Solusi : var span_text = document.getElementById("spanTotalInfo").innerText; alert (span_text); Sekian dan terima kasih. Haha
Post a Comment