Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

OnLoad problems with Netscape 6.2

Status
Not open for further replies.

trey1

Programmer
Jul 27, 2001
6
US
Is anyone else having problems with OnLoad in Netscape 6.2 When I call a function with no parameters in OnLoad it works fine, but if I call a function and pass in the form in OnLoad it doesn't work. Can anyone help with this???
 
I am using NS6.2.1 and I can successfully pass the form in as a parameter into a javascript function in the onload event. Double check your syntax and your reference calls. Posting back with code samples is also helpful.


 
I am still having problems with calling a function in the onLoad and passing in the form. Can you see anything I am doing wrong?

<body onLoad=&quot;deletecnt(entry)&quot; bgcolor=&quot;#FFFFFF&quot; bgproperties=fixed ALINK=&quot;#FFF
F00&quot; VLINK=&quot;#999999&quot; LINK=&quot;#0033CC&quot; background=&quot;/static/buttons/offRedWhite.jpg&quot;
>
.
.
.
.
.

function deletecnt(frm) {
alert(&quot;Delete cnt&quot;);
placeFocus();
if(!isEmpty(frm.messageCount.value)) {
frm.button.value = &quot;Delete&quot;;
if(confirmW(frm)) {
frm.submit();
} else {
frm.deleteReason.value = &quot;&quot;;
frm.messageCount.value = null;
}

}
 
Could you post more code. Post your form and form elements. You have also not posted all of your javascript. For example: you are missing a right hand brace. Also what do confirmW(form); and placeFocus() look like.
 
Not to dig it in too deep, but POST MORE CODE. Thank you.
bluebrain.gif
blueuniment.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top