close
The Wayback Machine - https://web.archive.org/web/20160502152540/http://javascript.about.com/
The Latest in JavaScript
Use responseText and responseXML
Using responseText and responseXML determines if the server responses in AJAX are in XML or plain text. The field in which the response is returned depends upon what format is being used.
How using innerHTML can save you some time
The innerHTML property is a convenient way to access the entire content of the HTML container. It can be used to either retrieve from or insert content into a container.
Using HTML to Create Collapsible Div Menus
HTML collapsible div menus save space on the web page. The content heavy page becomes “decluttered” which improves its aesthetic and functionality.
How to use script tags to link to external JavaScript
To link to external JavaScript, use Script tags. These attributes will attach another JavaScript to the page, allowing further JavaScript code to run.
JavaScript Form Processing
This is a complete example of all the HTML and JavaScript required to unobtrusively attach JavaScript validations to a form. It also includes the code to validate the HTML 5 required and pattern attributes across all browsers.
Variables, Functions, Properties and Methods
While these four terms have distinct meanings in some languages, things are not as clear cut in JavaScript.
Radio Button Validation
Everything you need to know about radio button creation and validation.
JavaScript Form Processing
Changes to both JavaScript and HTML have affected the way we should be using JavaScript to validate our forms and will affect it further in the future.
Null and Undefined
Both null and undefined in JavaScript do not always behave as you might expect them to.
JavaScript Testing
Which order you run your tests in will affect how likely it is that you will need to rerun lots of tests if one fails.
JavaScript By Example
We don't need a special constructor function to be able to create an object, an ordinary function can be used instead provided we return the created object.
JavaScript By Example
Since JavaScript doesn't use classes we need to define singletons a little differently from other languages. Let's look at it as when creating multiple objects from the same base object actually just create aliases for a single object instead.
JavaScript By Example
The most efficient time to define which way we want cross browser processing to work is the first time it is needed.
Working in a home office - zhang bo/Vetta/Getty Images
JavaScript By Example
When we use "this" in a function we have the ability to determine which object it refers to.
JavaScript By Example
For two objects to be equal, it isn't enough for their content to be the same, they must be aliases for the same object.
Prev
1
2
3
4