Answers for "data-target in js"

0

event.target data-target

event.target.getAttribute("data-sortorder");
Posted by: Guest on August-25-2021
0

data-target in html

Notice the link element has two custom data attributes: 
data-toggle and data-target . The toggle tells Bootstrap what to do 
and the target tells Bootstrap which element is going to open. 
So whenever a link like that is clicked, 
a modal with an ID of “basicModal” will appear
Posted by: Guest on December-14-2020

Browse Popular Code Answers by Language