showing results for - "how to add data toggle and data target using jquery"
Sebastián
07 May 2017
1$("button").on("click", function(){
2  $($(this).attr("data-target")).modal("show");
3});
Rachel
13 Jan 2020
1$("button").on("click", function(){
2  $($(this).attr("data-target")).remove("model");
3});