对啊,直接调用就可以了啊~比如:
a.js文件内容如下:function AlertMessage()
{
   alert("Hello word!");
}
b.htm页面内容如下:<html>
<head>
<script src="a.js" type="text/javascript"></script>
</head>
<body>
<input type="button" value="点击我" onclick="AlertMessage()" />
</body>
</html>这样就可以了~