Sets or retrieves the version number of the HTML Application (HTA).
dhtml语法
HTML | <HTA:APPLICATION VERSION
= sVersion... >
|
---|
Scripting | [ sVersion = ] HTA:APPLICATION.version |
---|
DHTML可能的值
sVersion | Stringthat specifies the version number of the application. |
The property is read-only.
The property has no default value.
Remarks
Note The version property is read-only; however, the VERSION attribute can be used to set the initial value.
DHTML代码范例
This example shows how to retrieve the version property.
<HTML>
<HEAD>
<HTA:APPLICATION ID="oHTA"
VERSION="1.0"
>
<SCRIPT>
alert("version = " + oHTA.version);
</SCRIPT>
</HEAD>
<BODY SCROLL="no">
</BODY>
</HTML>
This feature requires Microsoft® Internet Explorer 5 or later. Click the following icon to install the latest version. Then reload this page to view the sample.
是否符合公共标准
There is no public standard that applies to this property.
Applies To
更多语法参考
Introduction to HTML Applications (HTAs)