JavaScript Reference/Javascript Properties/appName

Материал из Web эксперт
Перейти к: навигация, поиск

"appName" Example

   <source lang="javascript">
   

<html> <head> <script language="JavaScript">

   function function1() {
       alert(navigator.appName);
   }

</script> </head> <body>

   <input type="button" value="Browser Name" onClick="function1();">

</body> </html>


     </source>
   
  


"appName" is applied to

   <source lang="javascript">

+----------------+--------------------------------------------------------------+ | Applied_To |clientInformation navigator | +----------------+--------------------------------------------------------------+

     </source>
   
  


"appName" Syntax and Note

   <source lang="javascript">

Note: Read-only property. Returns the browser"s complete name.

Syntax:

objectName.appName


     </source>