<!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=utf-8" />
<title>无标题文档</title>
</head><body>
<!-- 中部右边start -->这些要读取的代码<!-- 中部右边stop-->
</body>
</html>
就是要用js取出 <!-- 中部右边start -->和<!-- 中部右边stop-->这两个标签的数据
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
</head><body>
<!-- 中部右边start -->这些要读取的代码<!-- 中部右边stop-->
</body>
</html>
就是要用js取出 <!-- 中部右边start -->和<!-- 中部右边stop-->这两个标签的数据
解决方案 »
- 求高手!!!
- 请问DTREE是怎样把节点显示到页面上去的
- 太离奇了,这个表单的验证在ff和Google的浏览器里正常,在IE6里就是不执行
- fck the sever didn't send back a proper XML response,Please contact your system administrator
- 错误提示是:style不是对象或为空
- 怎么设置一段JavaScript每隔一段时间自动运行一次?
- 请问一下怎么实现java修改geoserver显示问题
- 再问这个未解的问题,我就不信没人知道
- 如何让页面满屏显示?
- 怎样得到网页可见区的矩形坐标?
- EXT propertygrid 求助(高手入啊) Ext.grid.property.Grid
- 求个自动设置为首页的代码,而且还要修改注册表让别人不能改回主页的代码..
document.getElementById('stop').innerHTML
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title> <script type="text/javascript"> //<![CDATA[ window.onload = function ()
{
var node = document.body.lastChild.previousSibling.previousSibling;
alert(node.nodeValue);
} //]]></script></head>
<body>
<!-- 中部右边start -->这些要读取的代码<!-- 中部右边stop-->
</body>
</html>
if(match){
alert(match[1]);
}
if(match){
alert(match[2]);
}