?
Solved

2 onload scripts and conflict

Posted on 2005-03-05
1
Medium Priority
?
196 Views
Last Modified: 2010-04-17
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;
0
Comment
Question by:sahrom
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 4

Accepted Solution

by:
ITBG earned 2000 total points
ID: 13466128
put them in a script run at server tag
define private sub
call that sub onload...
[;¬)
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A short article about problems I had with the new location API and permissions in Marshmallow
Make the most of your online learning experience.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Simple Linear Regression

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question