I have a php page that works as the parent - container.php. Another react.php contains ReactJS objects that displays well if I access it directly.
However, when I try to AJAX load react.php from the container.php using JQuery.load function, the ReactJS objects are not rendered at all.
In container.php
$(".res").load("react.php", function(data) {
$(".res").html(data);
})
Is there any workaround for this?