Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

how to create Expandable and Collapsible Menus

3248


how to Scroll a DIV content

2583


Create a Menu that can be activated while clicking on Right Mouse button

2127


function to combine two or more arrays

2145


code to get the coordinates of a Click Event

2233


advance the focus to next consecutive fields when Enter Key is pressed

2260


code to set the main window's size

2296


determine which Element received an Event

2334


how to Auto Scroll the page

2063


code to create a new window

2191


How to block double clicks

2114


How to encode and decode URL strings?

2308


sample code to auto focusing the first field in a form

2475


code to positioning of window in certain dimensions

2128


how to create a Draggable element

2435