Its a struts 1.2 application. I have a java script function. Its working in IE and Chrome but not in Mozilla. It is supposed to change the button after clicking that button and perform some action.
function changeButton(obj)
{
obj.form.action=obj.form.action + "&submitType=Bucket Usage";
obj.form.submit();
document.getElementById("submit_btn").innerHTML="<img src=x.jpg>";window.status="Form Submitted, Please wait...";return true;
}
And the call is from
onclick="javascript:changeButton(this);"
Please help.