Link to home
Start Free TrialLog in
Avatar of sahrom
sahrom

asked on

2 onload scripts and conflict

I have two scripts that work when both not on the page, but when I try to combine them, one stops working

HOW can I combine both scripts to work to gether??

1. <BODY onLoad="<% If (Session("APPROVED") <> "Yes") Then
 %> BodyLoad(); <%
End If %>">
which when compiled and viewed =  <BODY onLoad="">

2.  is for a dhtml and vertical list
startList = function() {
if (document.all&&document.getElementById) {
  navRoot = document.getElementById("nav1");
.................
}
window.onload=startList;
ASKER CERTIFIED SOLUTION
Avatar of ITBG
ITBG

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial