|
free templates
You can find the current standard for JavaScript at In
fact, many templates people treat the official name of
JavaScript as ECMASeript, free templates but free
web templates that name hasn't
quite caught on. Netscape Navigator's version of JavaScript
is ECMA compliant. As you might, expect, there is an incredible
number of JavaScript resources on the Website templates
-just search for the word JavaScript and you'll be deluged
with information. Here's a set
of resources to get. you started: JavaScript is art object-oriented
language webpages . The term object-oriented might make
you nervous, but in fact using objects makes JavaScript
site pages programming tremendously easier. As far as
we're concerned here, an object just refers to builder
some aspect of the Web browser, which gives us access
to that aspect. JavaScript comes templates with a number
of predefined objects. Using this
object, you have access to the HTML of the page itself,
templates including all the links, images, and anchors
in it. o form-Holds information about HTML forms templates
in the current page; forms can contain buttons, text fields,
and all kinds of other HTML web templates elements. I'll
take a o frame-Refers to a frame in the browser window.
Holds the record
of the sites the Web browser has
visited before
website templates
Such as the document object we saw in the first example
in this. The document web builder object refers to the
body of the current page in site builder the browser,
giving you an easy way to access the HTML in that page.
In fact, I used the writeln
(write line) method of that object to write the text "Welcome
to JavaScript" to the current templates You use a
method of an object to perform some action with that object.
In the previous. I'm writing a line of text to the document.
Other methods let you free
website templates display message
boxes, navigate web templates to new pages, and submit
data to the Web server. So what objects are available
website templates for use in JavaScript and what do they
stand for? Here's a list of some JavaScript objects you
have access to in your code; o document-Corresponds to
the current Web page's body.! reaching
the current page. Gives you access to free templates methods
that let you move web templates back to previous pages.
Holds information about the location of the current Web
page, web page templates such as its URL, the domain name,
path, server port, and more. navigator-Refers to the free
templates browser itself, letting you determine what browi
the user has. Refers to the current browser window.
These objects come ready for yon to use, but there are
also other objects that;
|