This script works in IE but not FF.... any ideas why?

document.getElementById("btnSend").disabled = true;
document.getElementById("btnSend").value = 'Sending';