I need to replace (with jquery) the text for an element which is not loaded on document.ready. The element is loaded with ajax.
I tried with:
$('#my-div label').live({
var text = $(this).text();
$(this).text(text.replace('text', 'my text'));
});
the html is something like
<div id="my-div"><label>text</label></div>
successajax handler. Please paste it on your question$(document).ajaxComplete