Saturday, May 29, 2010

JavaScript

What is Java Script?

to design interactive sites. interacts with HTML codes as then it results into dynamic content.


What is Object Oriented Programming (OOP)?

defines the data type of a data structure and defines the types of operations that is applied to a data structure. This then becomes an object that is both data and functions.


Three components that make up OOP?

the data (model) ; the visual representation of the data (view) ; and the interface between the view and the model (controller)


Example of object, method and event?

-


Where is Java script placed in a html page?

between the tags of (<)scipt type = text/javascript(>) and (<)/script(>)
this can be anywhere in a html page.. in the head, in the body, or both.


What four lines of code indicate the beginning and end of java script?

(<)scipt type = text/javascript(>) and (<)/script(>) .. ?


What do java script forms do? Name two objects that could be included in a form.

-


What four attributes does a java script button have?

open and close tags
the function
the input type, onclick and value
and thing in between ({) and (})

No comments:

Post a Comment

Followers