Wrox Programmer Forums
|
BOOK: HTML5, JavaScript and jQuery 24-Hour Trainer
This is the forum to discuss the Wrox book HTML5, JavaScript and jQuery 24-Hour Trainer by Dane Cameron; ISBN: 978-1-119-00116-4
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: HTML5, JavaScript and jQuery 24-Hour Trainer section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 4th, 2015, 05:46 AM
Registered User
 
Join Date: Mar 2015
Posts: 6
Thanks: 2
Thanked 0 Times in 0 Posts
Default Chapter 14 Objects

Hi, i did the step by step exercises of the chapter. And as suggested by the exercise (question no 11. and 12.), i try to step through the init function, there is an error message "Uncaught ReferneceError: contactScreen is not defined", may i know which part actually when wrong? or is there anything went wrong? i just can not remember where contactScreen is defined too?

* i copied the source file from the website for chapter 14, it is the same.

for easy reference:
<script>
var mainElement = document.getElementById('contactScreen');
var appScreen = contactsScreen(mainElement);
appScreen.init();
</script>


Thanks in advance





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 4 Building Objects tuc31018 Forum and Wrox.com Feedback 0 April 24th, 2012 04:24 PM
Chapter 4 Building Objects tuc31018 BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 0 April 24th, 2012 03:55 PM
chapter 14 vthunder70 BOOK: Beginning ASP.NET 2.0 and Databases 2 October 3rd, 2007 02:11 PM
Chapter 14 example pkumar@ech BOOK: Professional Jakarta Struts 0 November 15th, 2006 09:10 AM
Chapter 14 Mike Smith BOOK: Professional C#, 2nd and 3rd Editions 2 January 4th, 2004 05:13 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.