How I do to detect the internet explorer and lower versions using javascript? I know about the navigator object, but what is the information that it send to identify him?
Share
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.
I recommend using conditional comments to the load the CSS or JS targeted for IE x.x as @Jason McCreary suggests. However, if you’re deep in the code of a JS plug-in or something and need it for JS, this is a pretty sure fire way of getting it done:
And if you’re a minimalist, a bit of a rebel; this method I believe actually works: