How can I add a simple counter function in javascript jquery?

Posted by Adam on Stack Overflow See other posts from Stack Overflow or by Adam
Published on 2010-05-30T20:54:37Z Indexed on 2010/05/30 21:12 UTC
Read the original article Hit count: 292

Filed under:
|
|

I'm using Shadowbox a jquery overlay and I wanted to count how many people are actually using the overlay. Thus, I would need a function that would write a counter to a file or sending a query through a php api...

has to be a a php url api because I cant use php on the server where the overlay is.

So I need help with executing a javascript function on the overlay click, tips on how to make a counter query through GET method.

Thanks

© Stack Overflow or respective owner

Related posts about php

Related posts about JavaScript