E-Mail:

JavaScript 101: The JavaScript Object Model

Still not really understanding the basics behind Javascript yet? No worries, this tutorial will help to walk you through the basics. After you get the fundamentals firmly planted into your brain, the rest will take care of itself.

If you talk to several different Web developers, each will probably see the JavaScript object model differently. To make it easiest, I’m going to split the JavaScript object model into two separate entities. One is the DOM, or Document Object Model, and the other is “everything else.”

The DOM

Let’s first start with the DOM. The DOM, also sometimes called the DHTML object model, is generally used to create dynamic HTML (DHTML). The DOM is made up of objects and members (by “members” I mean methods, properties, and events) that allow you to change the appearance of a Web page by using code. A drop-down menu is an example of using scripting with the DOM to manipulate the visible state of a DIV element. The following image shows the core objects in the DOM. [Read the rest]

What Do You Think?

 

Want to Start a Blog Here for Free?

Are you an expert in one subject or another? If your goal is to help others and dispense your hard-earned information back to the community, get involved in our community site today! You can write about anything - no matter the topic. Exceptional candidates will be offered the chance to contribute to (and generate revenue from) the main Lockergnome site. Join us today!

SEO - Apr 22, 2008

Using An SEO Company Vs. Hiring An In-House Expert: The True Dollar Cost

73 queries / 0.397 seconds.