I am using this code to get dynamic html. But existing jquery library and event other functions or js code not working for this dynamic code.
function getDynamicContent(id, tab_id) {
            jQuery.ajax({
                url: "test.php",
                data: 'id=' + id,
                type: "POST",
                success: function (data) {
                    $('#' + tab_id).html(data);
                }
            });
        }
 
    