JavaScript Reference/Javascript Properties/urn
"urn" Example
<html>
<body>
<script language="JavaScript">
function function1() {
var m = document.all.myA.urn;
alert(m);
}
</script>
<input type="button" value="Get the urn" onclick="function1();">
<a id="myA" href=http://www.wbex.ru/ urn="wbex.ru Website">wbex.ru web page</a>
</body>
</html>
"urn" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |<a> namespace |
+----------------+--------------------------------------------------------------+
"urn" Syntax and Note
Note:
Read and write property.
Specifies the document URN (Uniform Resource Name).
Syntax:
document.all.elementID.urn = value
namespace.urn = value