[javascript] document.getElementById('btnid').disabled is not working in firefox and chrome