Detect via javascript whether Silverlight is installed
问题 Is there a javascript function I can use to detect whether a specific silverlight version is installed in the current browser? I'm particularly interested in the Silverlight 2 Beta 2 version. I don't want to use the default method of having an image behind the silverlight control which is just shown if the Silverlight plugin doesn't load. Edit: From link provided in accepted answer: Include Silverlight.js (from Silverlight SDK) Silverlight.isInstalled("2.0"); 回答1: Include Silverlight.js (from