JavaScript Reference/Javascript Properties/filename

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

"filename" Example

   <source lang="javascript">
   

<html> <body> <button onclick="alert(navigator. plugins[0].filename);">suffixes</button> </body> </html>


     </source>
   
  


"filename" is applied to

   <source lang="javascript">

+----------------+--------------------------------------------------------------+ | Applied_To |plugin | +----------------+--------------------------------------------------------------+

     </source>
   
  


"filename" Syntax and Note

   <source lang="javascript">

Note: Read-only property. Sets the filename of the plug-in module in Netscape browsers.

Syntax:

navigator.plugins[index].filename


     </source>