refresh method (plugins)
Refreshes the plugins collection to make the newly installed plugins available.
Syntax:
You can find the related objects in the Supported by objects section below.
Parameters:
Optional. Boolean value that specifies whether all open documents that contain plugins should be reloaded.
One of the following values:
|
Return value:
This method has no return value.
Example HTML code 1:
This example illustrates the use of the refresh method:
|
||||
<head> <script type="text/javascript"> function UpdatePlugins () { if (navigator.plugins) { navigator.plugins.refresh (); alert ("The plugins collection is updated!"); } else { alert ("Your browser does not support this example!"); } } </script> </head> <body> <button onclick="UpdatePlugins ();">Update plugins!</button> </body> |
||||
|
||||
Did you find this example helpful?
|
Supported by objects:
External links:
User Contributed Comments