Hi, I have been working on a download form that needs to be disabled once clicked on. Basically, everything works perfectly unless you run Internet Explorer. The Javascript: <script language="JavaScript" type="text/javascript"> function formDisable(id) { document.getElementById(id).disabled="true"; document.getElementById(id).src="../images/getitnowbuttonoff.gif"; } </script> The input button of the form: echo '<INPUT id="' . $id . '" TYPE="image" src="../images/getitnowbutton.gif" width="135" height="29" onclick="formDisable(\'' . $id . '\')">'; Does anyone have any ideas as to why this works in all browsers save Internet Explorer?
Total shot in the dark... try also giving the input a name... <INPUT id="' . $id . '" name="' . $id . '" TYPE...............
Long ago i try this method too, but can't get it work so beside disable the button i hide using button.innerHTML="".