2
Notice that line:
response.write "<span data-toggle='tooltip' data-original-title='" & TitleBadge & "' style='margin-right:3px;'>"
This line is inside a file that is called via ajax. If I put inside html:
<span data-toggle='tooltip' data-original-title='Titulo' style='margin-right:3px;'>
It works, but not via ajax.
I already understand why, but I haven’t solved it yet. When you initialize the tooltip function, everything you have title=""
becomes data-original-title=""
and so does not take what comes dynamic.
I’ve tried to come straight with the data-original
, but also it was not.
The page that has the tooltip I call it so:
function PegarSemanaConsultaFinan(DataProcura){
dados = "DataProcura="+DataProcura
$.ajax({
url: "financeiro-procura-semana.asp?"+dados,
Type: "POST",
success: function(result){
$("#results-div-finan").html(result);
},
error: function(){
}
});
}
Does anyone have any tips?
You are using which programming language?
– Victor Stafusa
ASP, but I call it:
– Ronaldo Bueno