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 |
Create a Menu that can be activated while clicking on Right Mouse button
code to sorting an array of objects
how to pass data between pages using Cookies
code to create a new window
validation code / function to allow only NUmbers in a text box
code to set the main window's size
could you please tell me for what javac, javax,swing,awt.*; are using. what is the meaning and differences. and also there are 4 access modifiers in java. public, private, protected, default. what is the meaning of these 4 access modifiers and difference. public is the access modifier void means return data type disp() means function name what mean by static
code to detect versions of different browsers like internet explorer, netscape, mozilla, opera etc
Code to Block submission of form by pressing Enter Key
program to show a progress bar
advance the focus to next consecutive fields when Enter Key is pressed
How to test whether two strings are equal or not ?