The result by filling up the data like picture above is
<a id="detil" name="detil" </a>
What I want to ask is how should I do to have a result
<a data-target="#modal-detil" data-toggle="modal" href="#detil" id="detil" name="detil" </a>
How to add the attributes: data target, data toggle and href ?
Using jquery add attribute :-
$(document).ready(function(){
$("#detil").attr("href","#detil");
$("#detil").attr("data-toggle","modal");
$("#detil").attr("data-target","#modal-detil");
});