Document Domain : document : Javascript Objects JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Javascript Objects » document »

 

Document Domain



    
<html>
<body>
<script language="JavaScript">
function function1() {
    var m = document.domain;
    if (m) {
        alert(m);
    else {
        alert("No security domain");
    }
}
</script>
<input type="button" onClick="function1();" value="Domain Name">
</body>
</html>

    
      
      



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Javascript Objects
» document