JavaScript Reference/Javascript Properties/filename

Материал из Web эксперт
Версия от 11:22, 26 мая 2010; Admin (обсуждение | вклад) (1 версия)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

"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>