>
> > Viktor...
>
> > You'd probably need an $.each() on there then.
>
> > -Original Message-
> > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
>
> > Behalf Of Viktor Tarm
> > Sent: Monday, November 12, 2007 2:35 PM
7; '+t.join(' ') );
> });
>
> etc
>
> On Nov 12, 9:17 pm, "Andy Matthews" <[EMAIL PROTECTED]> wrote:
>
> > Viktor...
>
> > You'd probably need an $.each() on there then.
>
> > -Original Message-
> > From: j
");
> > var firstword = mystring.split(" ")[0];
> > myarray = jQuery.grep(stringarray, function(n, i){
> > return (i > 0);
> > });
> > $("div#title a").append("" + firstword + "
> > ").append(myarray.join("
I am trying to make the first word of a sentence (a title from a
generated feed) bold.
TURN THIS:
One Two Three
INTO THIS:
One Two Three
I sure there is a way to do with jQuery, but I can't quite figure it
out. I have tried something like this, with no luck:
$("#title.a")
4 matches
Mail list logo