function statusupdate() {
document.getElementById("form_submit").style.display = "none";
document.getElementById("status_text").style.display = "inline";
- document.getElementById("status_text").firstChild.nodeValue = "@TR<<Upgrading...>>";
return true;
+}
+function printStatus() {
+ document.write('<div style="display: none; font-size: 14pt; font-weight: bold;" id="status_text" />@TR<<Upgrading...>> </div>');
}
</script>
<form method="POST" name="upgrade" action="$SCRIPT_NAME" enctype="multipart/form-data" onSubmit="statusupdate()">
<tr>
<td />
<td>
- <div style="display: none; font-size: 14pt; font-weight: bold;" id="status_text" /> </div>
+ <script type="text/javascript">printStatus()</script>
<input id="form_submit" type="submit" name="submit" value="@TR<<Upgrade>>" onClick="statusupdate()" />
</td>
</tr>