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 |
code to detect availability of cookies
code to calculate the number of days between two dates
validation code / function to allow only NUmbers in a text box
code to get the coordinates of a Click Event
code to keep a page Out of the browser history
code to display a Countdown Timer (dynamic)
how to pass data between pages using Frames
how to pass data between pages using Cookies
write a code to generate pseudorandom numbes
code to sorting an array of objects
code to create a new window
write a program to detect the user's browser ?