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 Ajax 2nd Edition ISBN: 978-0-470-10949-6
This is the forum to discuss the Wrox book Professional Ajax, 2nd Edition by Nicholas C. Zakas, Jeremy McPeak, Joe Fawcett; ISBN: 9780470109496
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Ajax 2nd Edition ISBN: 978-0-470-10949-6 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
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 31st, 2009, 09:10 PM
Registered User
Join Date: Dec 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Submission Throttling

I've taken the Chapter 3 Submission Throttling example and tried to apply it to one of my forms. I couldn't get it to work so I started with the downloaded code and slowly transformed it to resemble my code. I isolated the problem but have no idea why the code fails. I simply changed the Username references to UserName (capitalize the N) and the code fails, both mine and the example from the book. I can fix my code by strictly following the naming convention in the example but I would love to know where exactly the problem lies because I'd like to use my naming convention 'txtUserName' not 'txtUsername'. Any help would be greatly appreciated.
Reply With Quote
  #2 (permalink)  
Old January 1st, 2010, 04:22 PM
nzakas's Avatar
Wrox Author
Join Date: Dec 2004
Location: Peabody, MA, USA.
Posts: 217
Thanks: 0
Thanked 5 Times in 5 Posts

You should be able to accomplish this by replacing all instances of 'txtUsername' with 'txtUserName' in the PHP and HTML.
Nicholas C. Zakas
Author, Professional JavaScript for Web Developers (ISBN 0764579088)
Reply With Quote
  #3 (permalink)  
Old January 2nd, 2010, 06:01 PM
Registered User
Join Date: Dec 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

Yes, your are correct. Once I started a new browser session it worked. Thanks and sorry to bother you. It was driving me crazy. I've been applying a lot of lessions from the book to my existing code. You did a great job !
Reply With Quote

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
form submission...help!? mdbrueckner ASP.NET 2.0 Basics 1 September 19th, 2007 06:16 PM
Excerpt: Ajax Submission Throttling jminatel BOOK: Professional Ajax ISBN: 978-0-471-77778-6 0 April 11th, 2006 08:03 PM
New Ajax Article: Ajax Submission Throttling jminatel Ajax 0 April 11th, 2006 08:00 PM
Enabling Bandwidth throttling in IIS naive VB How-To 1 May 3rd, 2004 08:03 AM
Enabling bandwidth throttling in IIS naive VBScript 0 April 29th, 2004 08:51 AM

All times are GMT -4. The time now is 02:51 AM.

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