JavaScript Reference/Javascript Properties/srcUrn
"srcUrn" Example
<source lang="javascript">
<html> <body> <style> @media all {IE\:homePage {behavior:url(#default#homepage)}} </style> <script language="JavaScript"> function goHomePage(){
HP.navigateHomePage(); event.returnValue=false;
} </script> <script language="JavaScript" for="myA" event="onmouseout"> var m = event.srcUrn; alert("The value of property srcUrn is: "+m); </script> <yourNs:homepage id="HP"/> <a id="myA" href="" onClick="goHomePage();">Navigate to your home page</a> </body> </html>
</source>
"srcUrn" is applied to
<source lang="javascript">
+----------------+--------------------------------------------------------------+ | Applied_To |event | +----------------+--------------------------------------------------------------+
</source>
"srcUrn" Syntax and Note
<source lang="javascript">
Note: Read-only property. Returns the URN (Uniform Resource Name) of the behavior triggering the event. A URN specifies the identity of a resource rather than its location.
Syntax:
window.event.srcUrn
</source>