javascript ant

RSS or Atom

 

Piles of javascript goodness
 

Recent Articles

Apply Method Plus

 

There are a couple of identified patterns for invoking a function. One of which is to use the function method apply() or call() to invoke a function as if it were a method of some other object. This is typically why we might use these methods. However, the apply() method has another handy use. Unlike the call() method ...

Read

Var and Named Functions Lie!

Before any JavaScript is executed, the browser creates a formal default object in which all client-side code is contained. This object is known by many names which include: window object, head object, and global object. This might be news to you, it might not be. More importantly, ...

Read

Chaining Your JavaScript Methods

In a previous post on JavaScript Ant I reviewed some techniques from JavaScript libraries that could prove to be useful in your own scripts. A final technique that I gave a brief mention of, but did not cover in depth, was (object) method chaining. This technique was made popular in several ...

Read

About Javascript Ant

This site contains a repository of articles pertaining to JavaScript and its usage in modern web browsers.

The articles on this site are organized into one of five topics, and then further organized by level of expertise. For example, an article with a topic of “core/adv.” would contain information about the core JavaScript programing language targeted at a reader with advanced JavaScript knowledge. More information about the topics can found on the articles page.

Additionally, an organized list of JavaScript resources can be found in the resources section of this site.

And if all this is not enough, check out the elsewhere section for noteworthy JavaScript happenings not on javascriptant.com.

 

Recent Comments

  • Posted To: Get With This

    I like this article, and it is useful for me. Could you give me any insight how I can access the javascript variables/functions of a page from outside? Given, the page is currently open in the browser (thus window.content.document is its DOM).

  • Posted To: Chaining Your JavaScript Methods

    Excellent article – a nice alternative to the way I usually create chainable methods. Feed us more JavaScript goodness!

  • Posted To: Chaining Your JavaScript Methods

    Interesting… How can the model be extended to allow for jquery-style plugins?

  • Posted To: JavaScript Library Techniques, Tips and Tricks

    thanks for this valuable post…

  • Posted To: JavaScript Libraries By Comparison

    @Pragma: Great point on the lack of attention for accessibility. However, it’s up to the developer to implement progressive enhancement, and maintain accessible content and behavior, and it is possible with some of these JS libraries. For example, with jQuery, the AJAX behavior re-uses the “normal” server calls (such as …

Recent Javascript Elsewhere

JavaScript Event Delegation is Easier than You Think
Posted: 07/26/2008 Topic: core
What's the Fastest Way to Code a Loop in JavaScript?
Posted: 07/26/2008 Topic: core
Functional JavaScript
Posted: 07/01/2008 Topic: core
Mascara: ECMAScript 4 → Classic Javascript translator
Posted: 06/10/2008 Topic: tools
Finally, the alternative fix for IE6's memory leak is available
Posted: 06/10/2008 Topic: client
String Performance: Getting Good Performance from Internet Explorer
Posted: 06/10/2008 Topic: core
Spyjax - Your browser history is not private!
Posted: 06/03/2008 Topic: client
The ultimate getElementsByClassName, anno 2008
Posted: 05/27/2008 Topic: client
Reserved Words in JavaScript
Posted: 05/27/2008 Topic: core
Scoping anonymous functions
Posted: 05/09/2008 Topic: core