WordPress.org

Ready to get started?Download WordPress

Forums

allow wordpress users to click only once on a link (2 posts)

  1. kasteddu
    Member
    Posted 7 months ago #

    use wordpress, I would like to know if it were possible, to allow a registered user to click only once on a particular link.

  2. txpost
    Member
    Posted 7 months ago #

    Hi kasteddu,

    I haven't tested this myself, but you could try using jQuery. Specifically, the .one() and event.preventDefault() functions.

    You can find an example here: http://stackoverflow.com/questions/14794176/disable-a-link-after-clicked-once-using-jquery?lq=1

    Hope that helps!

    txpost

Reply

You must log in to post.

About this Topic

Tags

No tags yet.