Wrox Programmer Forums
|
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 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 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.
 
Old January 1st, 2010, 04:22 PM
nzakas's Avatar
Wrox Author
 
Join Date: Dec 2004
Posts: 217
Thanks: 0
Thanked 5 Times in 5 Posts
Default

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)
http://www.nczonline.net/
 
Old January 2nd, 2010, 06:01 PM
Registered User
 
Join Date: Dec 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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 !





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





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