Remove specific text from any element

Some times we have a paragraph and we need to remove some text or word dynamically but we don’t have any id or class to target that text/word. Using jQuery we can easily solve this problem. Suppose we have this paragraph

Categories: All Products, Themes, Plugins

Now i want to remove “Categories:” text so here is jQuery code.

Tags

About Zahid Iqbal

Zahid Iqbal is a founder and ceo of MZ Creative Studio. He is a web developer and designer with over 3 years of experience. His mission is to provide best web services and useful tools to everyone round the globe.

Leave a Reply

Your email address will not be published.

Do you have a website project you’d like to discuss?

Get in touch