I have used the code alert(navigator.appName)in java script . when i opened the page in chorme as well as Internet Explorer I got the pop up Netscape . Pls tell me what is wrong with the code
What did you expect ? may be you wanted to know about navigator.userAgent.
(reference >> https://developer.mozilla.org/en-US/docs/Web/API/NavigatorID/appName )