Hi,
I am new to JavaScript and I was wondering if it was possible to assign two click actions for one button.
Hi,
I am new to JavaScript and I was wondering if it was possible to assign two click actions for one button.
You can have one click event and then within that click event take different actions depending on some variable/condition.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.