Skip to Content
0
Former Member
Feb 08, 2011 at 04:19 AM

onLoad does not work in mozilla

423 Views

Hi,

I am trying to hide some fields during the onLoad event and listed below is the code. This code works in IE but the initialize function is not getting triggered in Mozilla Firefox, I am on version 3.6.13. Any inputs are appreciated, please disregard the hyphens

<S-CRIPT LANGUAGE="JavaS-cript">
function Initialize()
{
  document.getElementById("btnAdd").style.visibility = 'hidden';
}
</s-cript>
<htmlb:content design="design2003" >
<htmlb:page title  = "<otr>Partner Info</otr>" 
              onL-oad = "Initialize();" >
 <htmlb:form id="Info_Form" >
......
....
..
.
      </htmlb:form>
  </htmlb:page>
</htmlb:content>

Thanks

Vikas