p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Professional Ajax 2nd Edition ISBN: 978-0-470-10949-6 (http://p2p.wrox.com/forumdisplay.php?f=310)
-   -   Submission Throttling (http://p2p.wrox.com/showthread.php?t=77626)

zglmb December 31st, 2009 09:10 PM

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.

nzakas January 1st, 2010 04:22 PM

You should be able to accomplish this by replacing all instances of 'txtUsername' with 'txtUserName' in the PHP and HTML.

zglmb January 2nd, 2010 06:01 PM

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 !


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

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