Im having trouble trying to find a text in a jquery modal and removing it.
<div id="layer-303" class="layer">
<div id="boton_cerrar" class="cerrar" onclick="javascript:void(cerrarLayer('layer-303'));">cerrar</div>
<div class="cnt_sin_pst">
<div id="id_pst_layer_0" class="pst_contenido">
<div class="mod mod100">
'','canal'=>'null','seccion'=>'null','canal_name'=>'internet2015'); ?><div class="pill">
<div class="contentweb">
The text inside the div mod mod100
is what im trying to find and remove. I have used the following but it removes all the html inside the modal.
$(".layer:contains(''','canal'=>'null','seccion'=>'null','canal_name'=>'internet2015'); ?>')").remove()
The exact text which appears when opening the modal is: '','canal'=>'null','seccion'=>'null','canal_name'=>'internet2015'); ?>