Using jQuery to remove text generated by plugin

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
psurrena
Forum Contributor
Posts: 355
Joined: Thu Nov 10, 2005 12:31 pm
Location: Broolyn, NY

Using jQuery to remove text generated by plugin

Post by psurrena »

I'm using a wp plugin that generated a video gallery. The movie titles are name in a predictable fashion "Movie Category: Movie title". The code generated is something like:

<div class="title">
Movie Category: Movie title
</div>

How would I remove "Movie Category:" from the outputted text?

Thank you in advance.
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Re: Using jQuery to remove text generated by plugin

Post by pickle »

What have you tried? The .html() function or .text() functions would be a good place to start.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Post Reply