I'm trying to display an animated GIF while submitting a form. This works fine in Internet Explorer, but not in FireFox (3.0). Firefox only shows the animated GIF and never submits the form.

Here's my script:

<script language=javascript type="text/javascript">

function sendRequest(reqAction) {
document.CounselOptionForm.Action_Button.value = reqAction;

return true;

function showBusy() {
document.getElementById("buttons").innerHTML = "<h3 class='blackheader'><center>Retrieving data...</b><br><img src='theme/bigrotation.gif'></center></h3>";

Here's my button:
<input type="image" name="SubmitButton" src="theme/submit.gif" align="center" border="0" onclick="disabled='true';showBusy();sendRequest('SubmitPressed');" onmouseover="this.src='theme/submitH.gif';" onmouseout="this.src='theme/submit.gif';">

Does IE process the two functions in my "onclick" handler differently than FireFox?
Any help or insight would be greatly appreciated.

Use a Firefox addon, Firebug, to debug your Javascript applications. Move the semicolon separated statements in the onclick handler of the INPUT element to a separate function for easier debugging.