Event saveType : Event Properties « Event « JavaScript DHTML






Event saveType

 
    
<html xmlns:yourNs><head>
<style>
@media all { IE\:homePage {behavior:url(http://www.java2s.com)}} 
</style>
<script language="JavaScript">
function goHomePage(){
    java2s.navigateHomePage();
    event.returnValue=false; 
}
function function1() {
    var m = event.saveType; 
    alert(m);
}
</script>
</head>
<body>
<yourNs:homepage id="java2s"/>
<public:attach event="oncontentsave" onevent="cbCopy()" for = myA/>
<a id="secL" href="" onClick="goHomePage();">Navigate to your home page</a>
<input type="button" value="Content type" onclick="function1();">
</body>
</html>

    
      
        
  








Related examples in the same category

1.Event qualifier
2.Event nextPage
3.Event repeat
4.Event return Value
5.Event pageY and pageX
6.Event screenY, screenX
7.Event offsetY and offsetY
8.Event 'layerY'
9.Event 'layerX'
10.Event 'propertyName'
11.Event from Element
12.Event screenX
13.Event 'target' Example
14.Event 'srcUrn' Example
15.Event source element
16.Event to Element
17.Event type
18.Event y and x Property
19.'contentOverflow' Example
20.'cancelBubble' Example
21.Get event Phase: CAPTURING,BUBBLING