Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript jQuery Plugin Conditional Logic Reply To: jQuery Plugin Conditional Logic

#169727
dyr
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.