var bAgn = navigator.userAgent; if (bAgn.indexOf(".NET4.0E") != -1) document.write(" Frame work installed.");
Please take note that that JavaScript code can be used in Firefox or Opera web browser to query their User Agent String too (but only the IE will report .Net framework version in its User Agent String).
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)