Re: LightBox click detection
| From: | Tamara Temple | Date: | Sat, 15 Jun 2013 18:11:51 +0000 |
| Subject: | Re: LightBox click detection | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-321412@lists.php.net to get a copy of this message | ||
Marc Guay <marc.guay@gmail.com> wrote:
> $('.lightbox-image-class').click(function(){
> $.post('ajax.php', {click: true});
> });
Do javascript DOM events stack? If they do, this is definitely the
simplest way to go. If they don't, you need to capture the previous
click handler and call it.