Opened 10 years ago
Closed 10 years ago
#8923 closed bug (notabug)
Bug Tooltip
Reported by: | JavierGarciaX | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.10.0 |
Component: | ui.tooltip | Version: | 1.9.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Buen día
Pasa lo siguiente, no remplaza el title del tooltip a pesar de que en el HTML lo hace, pero solo es cuando asocio el evento a mouseover y focus
$("#deta_saldos").on("click","a[id=view_more]",function(){
este = $(this).attr("id"); no_ren = este.replace(/[.0-9]/g,); prop = $("#prop"+no_ren).val(); codi = $("#codi"+no_ren).val(); pre_carga_codigos(prop,codi,este,no_ren);
});
este falla
$("#deta_saldos").on("focus","input[class=inf_mas]",function(){
este = $(this).attr("id"); arr_este = este.split("_"); no_ren = arr_este[0].replace(/[.0-9]/g,); prop = $("#prop"+no_ren).val(); codi = $("#codi"+no_ren).val(); pre_carga_codigos(prop,codi,este,no_ren);
});
function pre_carga_codigos(prop,codi,este,no_ren){
if(codigos_control[prop+"-"+codi] == undefined){
req_adi = $("#req_adi"+no_ren).val(); $(this).fsubmit({
data: "bode=req&proy=req&cc_scc=req", otraData: "sal_fil=dispo&req_adi="+req_adi+"&prop="+prop+"&codi="+codi+"&esta=a", tipSubmit: "ajaxSubmit", goToScript: "ajax/ajax_respon.php", ejecuta: "exisSoCB"
},function(data){
data = eval('('+data+')'); largo = parseInt(data.length) - 1; options = ""; for(x = 0;x <= largo; x++){
options += data[x]+"<br />";
} codigos_arr[prop+"-"+codi] = data; codigos_control[prop+"-"+codi] = options; $("#info_adi"+no_ren).attr("title", options).attr("alt", options);
});
} $(".infoMarco").html(codigos_control[prop+"-"+codi]); $(".infoMarco").dialog('open');
}
Unfortunately we cannot help you with this issue. There is no use of the jQuery UI Tooltip plugin in here, this uses a third party plugin, and there is not enough information to reproduce whatever problem you're having. Please use the forums or StackOverflow for help. I highly suggest providing a reduced test case when asking for help so that others can better help you.