We saw in previous section
AJAX (Asynchronous JavaScript
There are actually three
As we have seen in earlier
the String Object of Java
and XML) is a JavaScript
types of popup boxes that
section String object is a
Script. Now in this section
technique which involves
can be created using Java
widely used object in Java
let us see another object of
special object
Script. As per the needs of
Script. Let us see in this
Java Script mentioned
XMLHttpRequest and
the user the programmers
section what the String
earlier in our sections
sending/receive asynchronous
creates any of these types
Object is used for, how to
namely the Date Object.
(without full page reload)
of popup box using Java
use that in Java Script,
requests to server. This is
Script.The three kinds of
some of the methods used in
an example of simple AJAX
popup boxes that can be
String Object in brief.
application which allows
created using Java Script
user to enter web-page url
are namely.
and display title of that
page right after user stops
typing.
Date: Nov, 23 2006 Date: Nov, 06 2006 Date: Nov, 23 2006 Date: Nov, 23 2006 |
Literal notation is a new way
As a continuation of the
This article explains why
There are many scripts out
of defining arrays in
earlier section where we
browser detects should be
there that provide
JavaScript that's extremely
have seen alert box, we will
used only as a last resort
customized pop ups for your
flexible and robust. Learn
see in section briefly about
and shows why using object
pages. Rather than trying to
about literal notation in
confirm box and prompt
detection is a better
supply a one size fits all
this tutorial.
box.The confirm box is one
alternative.
script this article
that pops up with two
demonstrates how you can
buttons namely OK and
easily write your own
Cancel. This box namely
popups, giving you complete
Confirm box is used to
control over what you show
verify from the user for
your users.
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.
Date: Dec, 09 2003 Date: Nov, 23 2006 Date: Sep, 15 2006 Date: Oct, 03 2006 |