Java Script

JavaScript is an object based language such as variables. JavaScript is only useable with HTML. JavaScript will set variables and change or do things with the data recived from the user. To tell the computer that you are going to use JavaScript you must but a :
         <script language="javascript">   
                                      &
                                        </script>
in it. In side thoses tabs you must put
                          <!--

                                     & 

                                            -->
Here are some examples of JavaScript:
Functions
       function name( ) {
                        Paramenters { 
                        }
       };
A function can be called later on in html with many commands such as onclick=name( ).
Var
         var name = ?;
All commands in JavaScript end in ;
Labels
Some things are labled in a special way such as
                  document.form1.image17.something
In this it looks in the documanet then looks for form1 which you must lable then looks for image17 then the somethingwhich you choses which can be anything depending on the type of form it is.
Quiz | Hammond High School | Back Home Page | Mr. Jenkins Page