I am trying to disable the 'start' button after i click on 'start' button. Its not working.

Please help.

<SCRIPT language="JavaScript">
function newtext()
document.myform.mytext.disabled = true;

function moretext()
document.myform.one.disabled = true;



<FORM name="myform" method="post" action="sessionS1.php">

<table width='600' cellpadding='5' cellspacing='5' border='1'> 

<tr><td colspan=6 align='right'><INPUT class = "button" TYPE="button" name= "mytext" value="start " onClick="newtext()"></td></tr>
<tr> <td> 2 * 4 </td>  <td> <input type = 'text' size = '2' name = one > </td> </tr>
<tr><td colspan=6 align='right'><input type='submit' value='Score' name='btn_score'></td></tr> 




i got your code and its working on mine maybe you should try
to test if the function being called .. as connected to the event...

please check if theres an error on your script
for client side if you are using a firefox browswer press 'control+shift+j' to show the error console check if theres an error

document.getElementsByName("mytext")[0].disabled = true;

Your code is working, disabled the 'start' button after i click on 'start' button.

And If you want to hide this button after click, you can use ...

function newtext()
document.myform.mytext.style.display = 'none';