Hello there...
Once I have retrived an HTML string with the $.ajax function I put it into a div... the HTML is a simple message with a <b>
tag, but it's not being interpreted by the browser, I mean, the <b>
is not making the text bold.
Here is what I do:
$.ajax({
url: 'index.php?ajax=ejecutar_configuracion&id_gadget=cubrimientos',
cache: false,
success: function(html){
// html = '<b>hello</b> newton'
$('#config_reporte').html(html).dialog({
height: 300,
width: 500,
modal: true
});
}
});
As you can see, I'm writing the content of the HTML result into a modal dialog window.
Does anybody know why is this happening? This should be something easy to do... but I haven't been able to make it work properly.
Thank you so much.