Home › Forums › JavaScript › jQuery Plugin Conditional Logic › Reply To: jQuery Plugin Conditional Logic
May 10, 2014 at 10:36 am
#169727
Participant
Haha, I figured as much. :)
That’s a neat example. So you’re just using two arrays as a sort of association between css selectors and functions used as a click handler more or less? Then you basically loop through the controls and bind each to it’s corresponding function, if I understand correctly.
This is similar to the “decision tables” style of computing “complex” logic, right?
Thanks Mottie, you’re always super helpful.