javascript ant
Recent Articles
Apply Method Plus
- Topic: core/interm.Posted: 08/19/2008By: Cody Lindley
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 ...
Var and Named Functions Lie!
- Topic: core/beg.
- Posted: 08/19/2008
- Comments: 1
- By: Cody Lindley
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, ...
Chaining Your JavaScript Methods
- Topic: core/adv.
- Posted: 05/20/2008
- Comments: 4
- By: Brian Reindel
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 ...
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: JavaScript Library Techniques, Tips and Tricks
Very interesting and useful tips, so many helpful informations include in this article! Thanks for good items! This looks good! Excellent SITE.
- Posted To: JavaScript Libraries By Comparison
Great article! Thumbs UP from me.
- 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….
Recent Javascript Elsewhere
- Techy Treasures #4: What’s inside a dollar function?
- Posted: 12/12/2008 Topic: client
- JavaScript Inheritance via Prototypes and Closures
- Posted: 12/12/2008 Topic: core
- Vote! How to Detect the Social Sites Your Visitors Use
- Posted: 12/05/2008 Topic: client
- WTFramework bookmarklet
- Posted: 12/03/2008 Topic: tools
- Visual Event
- Posted: 12/03/2008 Topic: tools
- Javascript Design Patterns - 1. The Singleton
- Posted: 12/01/2008 Topic: core
- JavaScript namespacing - an alternative to JavaScript inheritance
- Posted: 11/12/2008 Topic: core
- JavaScript and screen readers
- Posted: 11/03/2008 Topic: client
- JavaScript: how to get private, privileged, public and static members (properties and methods)
- Posted: 10/28/2008 Topic: core
- JavaScript inheritance - experimenting with syntax alternatives and private variables
- Posted: 10/28/2008 Topic: core