i have a requirment in what i just need to know IS ACTIVE X IS ENABLE OR NOT In IE 9
m doing this code
http://jsfiddle.net/ULzbW/
Can any body shade some light on this??
it is always returning TRUE
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Your sample tests for the existence of the
ActiveXObjectmember, which will return true even if its disabled.In IE9 you can use
window.external.msActiveXFilteringEnabled()which “Returns true if ActiveX controls are disallowed, false otherwise.“