HBCMS更多的中文手册参考:

nameProp参数属性

DHTML文档教程

Retrieves the file name specified in the href or src property of the object.

dhtml语法

htmln/a
scripting[ sfilename = ] object.nameprop

dhtml可能的值

sFileNameString that receives the name of a file specified by the object, not including the path or protocol.

The property is read-only. The property has no default value.

DHTML代码范例

This example uses the nameProp property to set the innertext property of a link to the file name specified by an a element.

<SCRIPT>
window.onload=fnInit;
function fnInit(){
oLink.innerText=oLink.nameProp;
}
</SCRIPT>
<A ID="oLink"
href="/hbcms/php/r.php?url=http%3a%2f%2fmsdn.microsoft.com/workshop/author/dhtml/dhtmlrefs.html">
</A>

是否符合公共标准

There is no public standard that applies to this property.

Applies To

A, IMG