Sorry, I don't know anything about PHP. Could your PHP script write the JavaScript for you? You could do a similar thing on load:
<BODY onLoad="frmWhatever.btnSubmit.disabled=true">
where...
<FORM NAME="frmWhatever">
<INPUT NAME="btnSubmit" TYPE="submit">
</FORM>
Paul




Reply With Quote