Understanding JavaScripts Week 3 Header
Week 3

How would you refer to each object?
Object 1 - web page ~ Object 1 is window.bgcolor="#FFFFFF"
Object 2 - an image ~ Object 2 - document.hdglmg
Object 3 - a form ~ Object 3 is document.firstOne

What would you look at to see if the checkbox (3.1) is checked?
document.firstOne.ck1.checked

How would you change the picture in object 2 ?
document.hdgImg.src="different_image.gif"

How would you change the background color in the page?
document.bgColor="#FF00CC"

How would you change the title that shows on the Submit button?
document.firstOne.Submit.value="Click Here"

Functions and Events

Enter a 6-digit Hexadecimal Color Code to get the Inversed Hexdecimal Color Code



 

Event Handlers

Date Verification

Enter a date ('mm/dd/yy')

 

This is a script that checks a date for you to see if it exists.

 
Graphics Courses Index |  Web Courses Index  |   HOME
u-JavaS Week 1 |  u-JavaS Week 2 |  u-JavaS Week 3 |  u-JavaS Week 4 |  u-JavaS Week 5 |  u-JavaS Week 6


copyright © VivaciousVixen 2003