Fork me on GitHub

jQuery plugin: one_time_action

written by Dennis on September 22nd, 2010 @ 04:53 PM

jQuery plugin: Makes submits and links work only once - and can reactivate them after a given time if you want.

This is just the demo page. For more info follow the thinks below.

See the github project (with documentation) or download the source

Demo

Comments

  • Dan on 22 Sep 17:39

    YES!!! This helps a bunch. I am amazed at how many people love to double-click everything and it drives me crazy. I have been coding some crazy hacks to try and implement a suitable work-around.

    This one time action feature for my forms and links will alleviate much of my headache!

    Thank you!

  • Dan on 22 Sep 17:41

    Oh, and I might add that the displaying the click count on the reactivating buttons gives me some great ideas. So simple, but never crossed my mind.

    Thanks again!

  • Business Loans Canada on 21 Oct 17:35

    This is very cool. One suggestion, maybe provide an example for how to implement each of those examples alone. This would make it that much easier for us non jQuery experts.

    Cheers.

  • George on 11 Jul 18:10

    Love the plugin, quick question, how would I go about having it disable a link on load?

    I tried doing something like this but no go.

    $(document).ready(function() { $(’#nav-logo-home’).one_time_action({add_class: ‘disabled’}); }

    Anyway, any advice would be greatly appreciated and thanks again for the awesome plugin.

  • bispginny on 04 Nov 11:51

    Hi! Re-twit you post: to my @cetimvut twitter

  • slavcentrinfo974 on 14 Nov 06:25

    Hi! i’m repost you post: to my www.twitter.com/#!/slavcentrinfo

    ????? ??????? ??????? ??????????? ??????? ? ??????? ?????? ??????? ????? ???????? ????? ??????? ?? ?????????? ????????

Post a comment