jquery - How to get the trigger of a Fancybox? -


I should know which specific classes anchor (which triggers faxbox) is "full" -function .

How do I get the trigger as a jQuery-object? $ (This) fast to reference Fancybox with no links from the original trigger


Solution:

  $ ('a.fancybox'). Click (function (e) {e.preventDefault (); var triggered = $ (this); $ .exensebox ({'href': this HRFR, 'parcel': function () (if (trigger.hasClass (' Class')) {// do something} other {// nothing or nothing}}}}}};  

Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -