Posts

Showing posts from April, 2012

Get Current IE Version

Hello readers.. IE(Internet Explorer) is the most hectic browser when implementing javascript. Some times we need to write browser specific javascript code, so we need to detect its Version first because different versions of IE run javascript differently. So below is the small piece of code to find current version of IE. The code is for IE only not for others browsers. < html > < head >< title > IE Version Test </ title ></ head > < body > < script type ="text/javascript" language ="javascript">        var IEVer = navigator.appVersion.split( ';' )[1].split( ' ' )[2];        document.write(IEVer); </ script > </ body > </ html >