p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


Register | 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 p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.

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.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #2 (permalink)  
Old December 24th, 2007, 12:42 AM
nzakas's Avatar
Wrox Author
Points: 647, Level: 9
Points: 647, Level: 9 Points: 647, Level: 9 Points: 647, Level: 9
Activity: 2%
Activity: 2% Activity: 2% Activity: 2%
 
Join Date: Dec 2004
Location: Peabody, MA, USA.
Posts: 192
Thanks: 0
Thanked 2 Times in 2 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/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
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.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

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 07:53 AM
making EventUtil a class bradrice BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0 2 August 29th, 2006 12:28 PM
Working with a class absolutezero Classic ASP Basics 0 August 19th, 2005 12:30 AM
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 02:46 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2008 Wiley Publishing, Inc