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 (9)

1 answer

Last reply by: Maury Hillstrom
Sat Nov 28, 2015 3:22 AM

Post by David Fan on November 17, 2015

whats the difference between document.write() and document.writeln() ?

1 answer

Last reply by: Maury Hillstrom
Wed Feb 19, 2014 6:08 PM

Post by David Seto on February 14, 2014

Firefox 27 does not have the option of enabling or disabling JavaScript.  Installing the addon of "SettingSanity" solves this problem. This thing adds back the removed options for JavaScript, Advanced JavaScripot Settings, loading images, and showing the Tab bar.

1 answer

Last reply by: Maury Hillstrom
Fri May 10, 2013 3:17 PM

Post by Michael Cremin on May 9, 2013

I get a table of contents for Java script but when I go to any item a get a black page, no test, audio. Please fix.

2 answers

Last reply by: Eric Rapinchuk
Thu May 10, 2012 7:06 PM

Post by Jorge Guerrero on March 30, 2012

Maury, I tried outputting the exact same code you have on screen, and only the last line comes out when I run it after 6 pm on the system clock.

I did a manual line by line debugging of the script and figured I had to delete the hour = hour - 12 line for the script to run proper.

Any idea why this happened? Please help. Tnx

Working With JavaScript

  • JavaScript was developed by Netscape in 1995
  • JavaScript runs as embedded code in HTML file or as a called JavaScript file
  • JavaScript files are stored with a .js extension

Working With JavaScript

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
  • History of JavaScript 0:14
    • History of JavaScript
  • JavaScript vs. Java 1:16
    • Differences and Similarities Between JavaScript and Java
  • Enabling JavaScript 4:56
    • Running JavaScript in Browsers
  • Allowing Active Content: IE 6:38
    • How to Allow Active Content in Internet Explorer
  • Allowing Active Content: Firefox 7:36
    • How to Allow Active Content in Firefox
  • Allowing Active Content: Safari 7:59
    • How to Allow Active Content in Safari
  • Allowing Active Content: Google Chrome 8:28
    • How to Allow Active Content in Google Chrome
  • Pseudocode 9:09
    • What is Pseudocode?
    • Examples: Pseudocode
  • Extra Examples 12:27
    • Basic Math
    • Using System Clock and Comparison Operators