Jump to content

Disable Hyperlink after 'X' amount of clicks


nicobach1

Recommended Posts

http://www.tizag.com/ajaxTutorial/

Basically, this is how its gotta work.. When your page is being displayed you need to check the count in the database..

if the count is less than the limit allow the link..

if not disable the button..

 

If the button is active and they click it you need to send an ajax request to update the clicked status and then run the rest of your code.

i understand how it all needs to work, my problem is that i have very little knowledge when it comes to php/ajax/javascript, im still in the process of learning all of this. I was hoping that someone might know of a site that has the code im looking for pre-written for a free download/copy or someone that would be kind enough to provide the code for me. i have been looking all day for some sort of code that would do what im looking for but have found nothing and now im stuck. i need to have the website up and running in two weeks!  :-\

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.