J'ai un problème avec html().replace
:problème .replace
<script type="text/javascript">
jQuery(function() {
jQuery(".post_meta_front").html(jQuery(".post_meta_front").html().replace(/\<p>Beschreibung:</p> /g, '<span></span>'));
});
</script>
ce qui ne va pas dans mon script?
Il serait bon que vous avez décrit ce que le problème est. Et posté votre HTML ou au moins un extrait court. – Strelok
besoin de citations autour de la regex peut-être? – Ascherer