Sign In | Subscribe

Enter your Sign on user name and password.

Forgot password?
  • Follow us on:
Start learning today, and be successful in your academic & professional career. Start Today!
Loading video...
This is a quick preview of the lesson. For full access, please Log In or Sign up.
For more information, please see full course syllabus of JavaScript
  • Discussion

  • Study Guides

  • Download Lecture Slides

  • Table of Contents

  • Related Services

Lecture Comments (3)

0 answers

Post by Jorge Guerrero on April 1, 2012

Here's the HTML part for Min Max Values:
<body onload="SetFocus()">
<form name="SimpleForm">
<td width="25%" align="right">Enter first number:</td>
<td><input name="FirstInput" type="text"></td>
<td width="25%" align="right">Enter second number:</td>
<td><input name="SecondInput" type="text"></td>
<td width="25%" align="right">Enter third number:</td>
<td><input name="ThirdInput" type="text"></td>
<td width="25%" align="right">&nbsp;</td>
<td><button type="Button" onclick="FindMaxMin()">
Click to calculate</button></td>

1 answer

Last reply by: Barbara Lengyel
Tue Apr 9, 2013 6:59 AM

Post by Jorge Guerrero on April 1, 2012

For the Web Page Clock: Here is the complete code, folks:

<script type="text/javascript">
function startTime()
var today=new Date();
var h=today.getHours();
var m=today.getMinutes();
var s=today.getSeconds();

function checkTime(i)
if (i<10)
i="0" + i;
return i;

<body onload="startTime()">
<div id="txt"></div>


  • Objects are similar to Nouns, as Methods are to Verbs, and Properties are to Adjectives
  • Common JavaScript objects are strings, numbers, dates, and arrays
  • Regular Expression objects are used to locate and manipulate patterns of characters


Lecture Slides are screen-captured images of important points in the lecture. Students can download and print out these lecture slide images to do practice problems as well as take notes while watching the lecture.

  • Intro 0:00
  • Definitions 0:08
    • Objects
    • Methods
    • Properties
  • Example 1:22
    • String Object
    • Test Object
  • Common JavaScript Objects 3:10
    • Array Object
    • Boolean Object
    • Date Object
    • Form Object
    • Math Object
    • Number object
    • String Object
    • Window Object
    • Document Object
  • Regular Expression Objects 5:55
    • Regular Expression Syntax
  • Example 1: Object Method 7:04
  • Example 2: Object Property 8:41
  • Example 3: String Object Styles 9:09
  • Example 4: String Match Method 11:00
  • Example 5: String Replace Method 12:45
  • Example 6: Web Page Clock 14:05
  • Example 7: Math Object Absolute Value 15:25
  • Example 8: Minimum and Maximum Values 17:05
  • Example 9: Form Objects 18:47
  • Example 10: Regular Expressions 23:22