Introduction to JavaScript
Need course dates or locations to suit you? CLICK HERE TO SEND ENQUIRY...  
Introduction to JavaScript

Remarc course RT0121 - Duration: day

Overall Aim
To introduce new users to basic concepts, features and functions of JavaScript.

Target Group
Any PC user who has a need to develop basic skills in the use of JavaScript.

Pre-requisites
Students must be proficient in Hypertext Markup Language (HTML) authoring. No previous programming experience is required.

Course Outline
JavaScript basics
- Introducing JavaScript
- Understanding scripting
- Browsing active Web pages
- Integrating JavaScript with HTML
- Using the SCRIPT tag to write JavaScript code
- Writing JavaScript code in an external file

Programming basics
- Using variables, data types, and functions
- Declaring variables of different data types
- Assigning and displaying the values of variables
- Using standard JavaScript functions
- Writing user defined functions
- Using JavaScript operators
- Using arithmetic operators
- Using comparison operators
- Using boolean operators
- Using control structures
- Using the if? else conditional statement
- Using the for loop
- Using the while loop

Working with objects
- Understanding objects, methods, and properties
- Understanding objects, methods, and properties
- Working with Date and String objects
- Displaying the current date and time on a Web page
- Finding the length of a string

Working with Document and Window objects
- Writing to a Web page
- Using the write and write ln methods
- Displaying the last modified date on a Web page
- Creating new windows
- Opening a new window from a Web page using JavaScript
- Changing the attributes of a window

Working with the Form object and events
- Handling events on a form
- Understanding event handling
- Writing an event handler for the Submit button
- Validating data entered in a text box
- Scripting for form elements
- Reading value from a list box
- Finding the status of a check box
- Finding the status of a radio button

Enhancing Web pages using JavaScript
- Working with status bar messages and timer events
- Displaying the current date and time on the status bar
- Displaying text on the status bar
- Displaying scrolling text on the status bar
- Adding sound to a Web page
- Playing sound when a page loads
- Playing sound on events
- Enhancing images on a Web Page
- Working with image rollovers
- Displaying random images on a Web page

Working with arrays and custom objects
- Working with arrays
- Creating and initialising an array
- Displaying the contents of an array on a Web page
- Deleting the contents of an array
- Working with custom objects
- Creating a custom object
- Creating an instance of a custom object

Error handling in JavaScript
- Identifying JavaScript errors
- Identifying an erroneous JavaScript page
- Fixing errors in JavaScript code
- Fixing errors using the Error Information dialog box
- Fixing errors using the JavaScript console

Working with frames
- Writing scripts for frames
- Using frame names in JavaScript
- Writing scripts to access multiple frames

Working with cookies
- Implementing cookies
- Setting cookie values
- Modifying cookie values
- Adding new entries to a cookie
- Working with cookie values
- Storing the user name in a cookie
- Reading and displaying the cookie value on a Web page
- Deleting a cookie
 
Need course dates or locations to suit you? CLICK HERE TO SEND ENQUIRY...  
My Location
Results for location are highlighted in the table below. Click here to remove highlight
The course either has new dates in data loading, or is only run as a dedicated or In Company course.
Tools
 
Key Details
Duration2 days
 
£351
per delegate
 
 
Bookings Helpline: 01933 233884 (Monday to Thursday - 8:00am to 5:30pm and Friday 8:00am to 5:00pm).