Wrox Programmer Forums
|
BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0
This is the forum to discuss the Wrox book Professional JavaScript for Web Developers by Nicholas C. Zakas; ISBN: 9780764579080
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0 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 December 20th, 2007, 04:42 AM
Registered User
 
Join Date: Dec 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default EventUtil class not working in web server

Hi,

I have implemented the "simulated drag and drop" technique as illustrated in chapter 13. It works fine on my local machine but when I uploaded the pages to a web server, a javascript error "EventUtil is undefined" is thrown. I'm pretty sure that the javascript file is already on my web server and that the path to it is correct. I tried to upload my website to another web server and it didn't work either. Has anyone here encountered the same problem and knows how to resolve it? Thanks in advance.

 
Old December 24th, 2007, 12:42 AM
nzakas's Avatar
Wrox Author
 
Join Date: Dec 2004
Posts: 217
Thanks: 0
Thanked 5 Times in 5 Posts
Default

The most likely reason is that you're referencing the file incorrectly. Make sure that you have the JavaScript file in the same directory as the HTML file and make sure that you're referencing the file in a way consistent to its case. EventUtil.js and eventutil.js are considered different files on a Unix system (but are the same on a Windows system).

Nicholas C. Zakas
Author, Professional JavaScript for Web Developers (ISBN 0764579088)
http://www.nczonline.net/
 
Old December 26th, 2007, 09:50 AM
Registered User
 
Join Date: Dec 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I see. Will run through my codes again. Thanks for the hint.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Web.Config..Working or Not Working peace95 ASP.NET 1.0 and 1.1 Basics 1 September 18th, 2006 06:53 AM
making EventUtil a class bradrice BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0 2 August 29th, 2006 11:28 AM
Working with a class absolutezero Classic ASP Basics 0 August 18th, 2005 11:30 PM
Local COM working , but not working at Web Serv nagen111 .NET Web Services 3 February 19th, 2005 04:22 AM
.syntax not working with class stephen_c_ Javascript 3 January 19th, 2005 07:21 AM





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