0

It is possible to expand an existing binding?

/* Existing */
$("#btn").on("click", function() {
    console.log("exist");
});

/* Additional */
$("#btn").on("click", function() {
    console.log("ADD");
});

On #btn click it should log: exist and ADD

Rory McCrossan
  • 331,213
  • 40
  • 305
  • 339
D.o.D
  • 1
  • 1

0 Answers0