write a program to detect the user's browser ?
Answer Posted / dhivya barathi
function getBrowser() {
if (Navigator.AppAgent.IndexOf("Chrome")! = -1) {
document.write("Chrome Browser");
}
getBrowser();
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
how to create Expandable and Collapsible Menus
how to Scroll a DIV content
Create a Menu that can be activated while clicking on Right Mouse button
function to combine two or more arrays
code to get the coordinates of a Click Event
advance the focus to next consecutive fields when Enter Key is pressed
code to set the main window's size
determine which Element received an Event
how to Auto Scroll the page
code to create a new window
How to block double clicks
How to encode and decode URL strings?
sample code to auto focusing the first field in a form
code to positioning of window in certain dimensions
how to create a Draggable element