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: JavaScript Library Techniques, Tips and Tricks

    Thanks for this article, it’s great. So great that we’ve made it ‘sticky’ on The Webmaster Forums. Now we don’t have to repeat ourselves, just send people to this article! Thanks for good items! This looks good! Excellent SITE.

  • Posted To: Var and Named Functions Lie!

    Another worth mentioning point: Named functions differs from anonymous functions (declared via var or into a variable): before handling each scope, the js engine runs through all named function within that scope and assigns them into the current scope’s object (window on the first scope). In other words, named function will be …

  • Posted To: Chaining Your JavaScript Methods

    Great article, it really helped me a lot, I went ahead and added a new method to your class to add multiple children to a node in a single line..WOW. thanks a lot….

  • 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

    I want a list of available methods for GetElementByIFD _ Does such a creature exist?

Recent Javascript Elsewhere

A re-introduction to JavaScript
Posted: 07/02/2009 Topic: core
LABjs (Loading And Blocking JavaScript)
Posted: 07/01/2009 Topic: scripts
"wordwrap" for JavaScript
Posted: 06/30/2009 Topic: scripts
XRegExp
Posted: 06/24/2009 Topic: tools
Loading JavaScript without blocking
Posted: 06/24/2009 Topic: client
Implementing Event Latency in JavaScript
Posted: 06/18/2009 Topic: client
Fastest way to build an HTML string
Posted: 06/01/2009 Topic: core
Creating Motion Tweens in Javascript
Posted: 05/19/2009 Topic: scripts
Make your pages load faster by combining and compressing javascript and css files
Posted: 05/07/2009 Topic: scripts
Optimizing JavaScript for extreme performance and low memory consumption
Posted: 05/01/2009 Topic: core