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.ge tElementBy Id) {
navRoot = document.getElementById("n av1");
.................
}
window.onload=startList;
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.ge
navRoot = document.getElementById("n
.................
}
window.onload=startList;
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.