Window Browser JavaScript DHTML




   
     function displayWindowInfo() {
        var winInfo = ""
        winInfo = "Number of frames: " + window.length + "\r"
        winInfo += "Window object name: " + window.window + "\r"
        winInfo += "Window parent name: " + window.parent + "\r"
        winInfo += "URL: " + window.location + "\r"
        alert(winInfo)
      }
   


   


      Type="button"
      Value="Display Window Information"
      OnClick="displayWindowInfo()"