A method is a function assigned to an object. For example, any Form object in JavaScript has a submit method, which, when invoked, submits the form. Since JavaScript functions are also data values, you can combine functions or invoke them from other statements by using methods.
Browse Our Tutorials
Cheat Sheets
Color Charts
Cut & Paste Code