dcsimg
www.webdeveloper.com
Results 1 to 4 of 4

Thread: count in html

  1. #1
    Join Date
    Jul 2009
    Posts
    2

    count in html

    Hi is there a way to count clicks in html?
    When somone clicks on a word or button it will go to a page untill the link is clicked 20 times then the link stops working.
    THANKS.

  2. #2
    Join Date
    Jan 2009
    Posts
    3,346
    You will need to use a server-side script to do that. HTML cannot change from what is written and Javascript can only store data on the client. If you only want the link to work 20 times total for anyone you will need to keep that record on the server and use a php or other script to serve the appropriate page once the count has reached 20.

  3. #3
    Join Date
    Jul 2009
    Posts
    2
    Thanks but how do i do that.

  4. #4
    Join Date
    Jan 2009
    Posts
    3,346

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles