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

create Drop-Down Navigation Menus

2241


code to get the coordinates of a Click Event

2270


code to set the main window's size

2373


program to show a progress bar

2675


Code to Block submission of form by pressing Enter Key

2553


write a code that user can choose/alter Body Text Size

2087


how to create Expandable and Collapsible Menus

3297


program to bring a window to the front

2079


how to get the User's Time of Day

2174


how to copy form data between different pages

2382


maximizing the main window

2118


code to detect versions of different browsers like internet explorer, netscape, mozilla, opera etc

2225


I have a doubt regarding including tags in a function. I have written a function in javascript in a html page. The function got called by clicking a button, i want to display the results in same html page by placing tags in the function. (this hmtl page is static page) Is this possible? example: