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 |
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space:
how to transform XML Data into HTML
Create a Menu that can be activated while clicking on Right Mouse button
program to show a progress bar
Code to Block submission of form by pressing Enter Key
write a program segment that will ask the user if he wants to computer the perimeter of the area of the triangle. if the perimeter is wanted, ask the measure of the three sides and compute for the perimeter. if the area is wanted, ask for the measures of the base and height and compute for the area. display the computed value
code to calculate the number of days between two dates
how to Scroll a DIV content
sample code to auto focusing the first field in a form
determine which Element received an Event
maximizing the main window
how to prevent an Event from performing its default behavior