H3 tag, or DT?

Anyway, I'm pretty sure that remove is not what you want. I think you'd need
to do something like:

$('h3').each(function(){
    var t = $(this).text();
    $(this).text(t.replace(/…/''/));
});

Obviously, replace h3 with whatever makes the most sense for your page.

On Fri, Nov 28, 2008 at 11:50 PM, DemersDesigns <[EMAIL PROTECTED]>wrote:

>
> Hello,
> I am using Simplepie and truncating fields that are longer than a
> certain length. This process adds an ellipsis to the end, which I want
> in most situations. However, for titles, I do not want the ellipsis to
> show. I am trying to use jquery to remove the ellipsis character code
> (&hellip;) from any H3 tag that has it, but am having a real problem
> getting it done. Here is what I have been working from with no luck.
>
> <script type="text/javascript">
> $(function(){
> $("dt &hellip;").remove();
> });
> </script>
>
>
> Thanks as always!
> -Paul

Reply via email to