edmund79
新手上路

初级会员
UID 65139
精华
0
积分 8
帖子 34
金钱 8 喜悦币
威望 0
人脉 0
阅读权限 10
注册 2005-7-18
状态 离线
|
[广告]: q
m
请教!!!,大家说怎么实现这个过程?
<!-- a.js -->
document.write("a");
<!-- b.html -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title></title>
<script type="text/javascript">
<!--
document.write('<script type="text\/javascript" src="a.js"><\/script>');
document.write("b");
/*
* 怎么才能输出的是:ab,而不是ba呢
*/
//-->
</script>
</head>
<body>
</body>
</html>
|
|