Solved

JavaScript Undefined Function

Posted on 2012-12-26
3
594 Views
Last Modified: 2012-12-27
Hi

I require some help with my JavaScript - I trying to learn Web development along with Java Script by watching some JavaScript videos on Channel9 (JavaScript for Absolute Beginners - Bob Tabor).
While everything works just fine in the demonstration videos I run into problems when I enter and execute the same code (I believe to be the same code) on my computer.
Using the IE9 - F12 Developer Tools  it keep telling me I'm either missing a ';'  and/or my Function is undefined - see attached files.
I've checked and double checked my code against what is presented in the training videos but I can't spot what I'm doing wrong.
My computer is running under Vista and I have IE9 installed.
The video demonstartion JavaScript code is very simple and basic but I can't seem to get beyond square 1.
Any help would be much appreciated.
Java---Lesson-6.png
Java---Lesson-7.png
0
Comment
Question by:Adlerm
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 29

Accepted Solution

by:
chilternPC earned 200 total points
ID: 38722533
put the "If" in lower case "if"
0
 

Author Closing Comment

by:Adlerm
ID: 38723319
chilternPC - Thank you so much - a lesson well learnt. It never even crossed my mind that the JavaScript language was case sensitive. Even the second problem - Function ==> function now works. Again many thanks.
Cheers
Michael
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Jquery form 9 44
Merging text files strings with filename 18 46
How do i use the await event in php echo 5 19
center navbar (navigation menu) on web page 3 27
Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question