When button is submitted it should POP-up message

I try to make button event. When it is submitted it should pop-up message (bootstrap). Which JavaScript is the best possible to do this event?

Code for the button:

<button type="submit" name="myform" class="" >Send</button>

Hi @toplisek, did you have a look at the bootstrap docs?

Just note that with a type="submit" button, you can’t use the data attribute API; you have to open the modal programmatically so that you can also prevent the default event. Otherwise the form would get submitted and the modal would only open very briefly, if at all.