Things to do in Cape Town, the Helderberg, and the Cape Winelands

Tag multiple

jQuery: Bind Multiple Different Elements to a Function

The question for today is how to bind a single function to multiple different elements (in other words, elements with either different classes or IDs) in a single call.

© 2021 An Exploring South African — Powered by WordPress