Answers for "how to add data modal target attribute in jquery"

1

how to add data modal target attribute in jquery

$('#testButton').attr('data-target','#testModal2');
Posted by: Guest on November-05-2020

Code answers related to "how to add data modal target attribute in jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language