Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 20th, 2007, 04:42 AM
Registered User
 
Join Date: Dec 2007
Location: , , .
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.

Reply With Quote
  #2 (permalink)  
Old December 24th, 2007, 12:42 AM
nzakas's Avatar
Wrox Author
 
Join Date: Dec 2004
Location: Peabody, MA, USA.
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/
Reply With Quote
  #3 (permalink)  
Old December 26th, 2007, 09:50 AM
Registered User
 
Join Date: Dec 2007
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 09:34 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.