一个关于javacsript的问题
jlus 2005-03-21 05:35:48 <script src="common/tabclass.js"></script>
<link href="common/style.css" rel="stylesheet" type="text/css">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD>
<script>
function function1{
}
</script>
<BODY>
<script>function2</script>
</BODY>
</HTML>
function2为tabclass.js中的一个函数,现在要使function1比function2先运行,该怎么做?我使用body的onload()没达到效果。