JavaScript 101: Working with Events

It has been awhile since my last JavaScript 101 post. I apologize. I have a very lame excuse: I’ve been busy. But I’m back with the next installment: working with events. Most JavaScript events are relatively simple and easy to use. For example, clicking on a button, an element, or a page. There are some…

4

JavaScript 101: Writing Your First Script

You can arm yourself with all the background information that you want, but the easiest way to learn JavaScript is to just jump in and start writing code. So let’s start with something simple for your first script. The window object contains all the other objects in the DOM, plus properties, methods, and events for…

42

JavaScript 101: The JavaScript Object Model

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….

10

JavaScript 101: JavaScript and OOP

As I mentioned in the previous post, JavaScript 101: An Introduction, JavaScript is an Object Oriented Programming (OOP) language, and as such, it is comprised of objects. A bunch of objects bundled together is called an object model, also called an application programming interface (API). Each object in an object model has characteristics that describe…

11

JavaScript 101: An Introduction

Many visitors to the MSDN FrontPage developer portal are unfamiliar with programming, so I decided that the best way to help non-developers understand our developer content is to provide education. This is the first installment, and its purpose is to teach JavaScript to the non-developer. The JavaScript 101 series is not designed for developers, as…

6