Using Properties with Methods

When you change the details about something which already exists, you are changing its properties.

For example:
document.bgcolor="red" is a property because I'm changing the existing details about the document. alert("Hello There") is a method because it creates something new, an alert box.

 

 
Imsg
Discussion

Blogging

E-mail

 

JAVASCRIPT    -    LESSON 3
J s - m e t h o d s