Preventing Multiple Submissions with Prototype and jQuery
- June 11, 2009 6:56 PM
- Javascript, jQuery, Prototype, User Interface Design
- Comments (4)
If there is one problem that plagues me across applications, its users that are too antsy to wait for the page to come back after hitting submit on a form. Even worse, some people just instinctually double and triple click. How do you keep these pesky users from duplicating records or charging themselves three times for that item in your e-shop? Click "more" to see how I do it in Prototype and jQuery.
Read More
Print
Send
Digg It!
So, another annoying bug, but at least I found a solution this one. I'm using Prototype and trying to get CFGrid running. Things went OK except that when I made a grid, it would load looking like the example to the left; no data listed. If you clicked on the "Students" header, you'd get the full list of students like the example on the right.
So I quickly did a find and replace and changed Prototype's "defer" to "pdefer" and things started up fine.
