2013-03-24 69 views
1

我正在使用下面显示的JavaScript代码来显示Flash版本的浏览器插件。如何在Javascript中显示Flash版本

代码是:

<script> 
txt=navigator.Flash; 
document.getElementById("flash").innerHTML = navigator.Flash; 
</script> 

但这段代码的输出显示

undefined 

我想要显示的Flash播放器的版本号。

我不知道如何继续。请帮忙。提前致谢。

+0

可能的复制http://stackoverflow.com/questions/3652480/how-to -check-Flash播放器版本,使用的JavaScript – Stasel 2013-03-24 15:04:44

回答