0
On my PHP server I return some data between them a button
$HTML = " <button id=\"btnExcluir\" style=\" width: 55px !important;\" onclick=\"Excluir();\" type=\"button \" data-toggle=\"tooltip\" data-placement=\"top\" title=\" Excluir itens selecionados\" class=\"btn btn-danger botaoExcluir\"> " ;
echo $HTML;
In my HTML/JS file I have my Ajax request that searches this data from the Php server, and includes them in a div with the Data Id ... Until then it appears normally and in my Jquery file I have the following function
$(function () {
$('[data-toggle="tooltip"]').tooltip()
})
To be able to style my buttom tooltip, but it does not change the type. How is it possible to add this style to the button?
If you are using Jquery UI Tooltip you have examples in their documentation of how to style balloons, which involve creating css classes and indicating them in the function call
tooltip
, if I understand your question correctly.– Isac