wordpress - Hide or replace text using jquery -
on this page can see text "0here" below breadcrumb.
that text coming theme not have installed. suspect it's coming database because duplicated old db build new site.
anyway, i'm trying hide/delete/replace "0here" or else appear on every page.
i'm trying...
<script> jquery(document).ready(function() { jquery(':contains("0here")').html().replace("0here", ""); }); </script>
but not working. missing?
try replace. dont think need html. works on selector.
//use 1 of them jquery(':contains("0here")').replace("0here", ""); jquery(':contains("0here")').html(""); jquery(':contains("0here")').val(""); //if input or text area
Comments
Post a Comment