is there a way to modify the html of a view file before or as it is loaded, such that a containing div element can be wrapped around existing elements that have a particular class.
So as an example:
if i have the element
<div class="add-wrapper-to-this-elem">
</div>
somewhere within the view file test_view.php, when i load the view via $this->load->view('test_view');
i would then like the view to load with an extra wrapper div around all elements with the class of add-wrapper-to-elem
is this possible and how would i go about it?