• Resolved chcw

    (@chcw)


    Hi,

    I create Plugin A with button whose id is ‘convert-button’ and there is a JS function like below:

    $(‘#convert-button’).on(‘click’, function() {

    However, in Plugin B, there is also a button with id ‘convert-button’, and it also has a function like below:

    $(‘#convert-button’).on(‘click’, function() {

    Now the problem is when I click the “convert” button in Plugin A, both onclick functions in two plugins will be called. How to prevent this?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.