There are actually three types of popup boxes that can be created using Java Script. As per the needs of the user the programmers creates any of these types of popup box using Java Script.The three kinds of popup boxes that can be created using Java Script are namely.
As we have seen in earlier section String object is a widely used object in Java Script. Let us see in this section what the String Object is used for, how to use that in Java Script, some of the methods used in String Object in brief.
As a continuation of the earlier section where we have seen alert box, we will see in section briefly about confirm box and prompt box.The confirm box is one that pops up with two buttons namely OK and Cancel. This box namely Confirm box is used to verify from the user for acceptance. If the user accepts then the user presses the Ok button and there by the confirm box returns with a value true and if the user rejects then the user presses the cancel button and there by the confirm box returns false value.
Simple URL redirection made using JavaScript and the window.location() function. Also provided an example how to make URL redirection with time delay, using the setTimeout() function in Java Script.
This code snippet lets you hide the error message which appears when there occurs a Javascript error in your pages. The script will still not function but the visitor will not see the error message. Written in French.
Tutorial and sample codes to calculate the distance between two locations. Free sample source codes in PHP, ASP, ColdFusion, C/C++, C#, Java, Perl, Visual Basic and Javascript. Longitude and latitude for United States ZIP Code and Canadian Postal Code are available in database subscription.