jQuery .ajax success function not rendering html with jQuery UI elements
Posted
by
tylerpenney
on Stack Overflow
See other posts from Stack Overflow
or by tylerpenney
Published on 2010-03-22T23:27:12Z
Indexed on
2011/11/14
1:50 UTC
Read the original article
Hit count: 345
How do I have the html loaded into my div from the .ajax render with jquery? the success function loads the HTML, but those elements do not show up as jQuery UI elements, just the static HTML types. Any pointers?
$(function() {
$('input[type=image]').click(function(){
$.ajax({
url: '_includes/callinfo.php',
data: 'id=' + $(this).attr('value'),
dataType: "html",
success: function(html){
$('#callwindow').html(html);
}
});
});
});
© Stack Overflow or respective owner