write a program to detect the user's browser ?
Answer / dhivya barathi
function getBrowser() {
if (Navigator.AppAgent.IndexOf("Chrome")! = -1) {
document.write("Chrome Browser");
}
getBrowser();
| Is This Answer Correct ? | 0 Yes | 1 No |
how to create Expandable and Collapsible Menus
code to get the coordinates of a Click Event
function to combine two or more arrays
snippet to prevent submission of form when certain/any validations got failed
how to transform XML Data into HTML
Reading which Character Key was pressed
determine which key was pressed and its type
how to Scroll a DIV content
advance the focus to next consecutive fields when Enter Key is pressed
maximizing the main window
write a function to validate a given date
How to Add Message and Confirmation Boxes Using JavaScript?