[thelist] .innerHTML help
Aaron Boodman
aaron at youngpup.net
Tue Sep 3 22:42:01 CDT 2002
> I'd still like to get the number of *'s to match
> the number of letters of each censored word.
whoops, missed that part. how about replace:
spans[i].innerHTML = '*****'
with:
spans[i].innerHTML = spans[i].oldInnerHTML.replace(/./, "*");
> BTW, I *love* the design of youngpup... :)
That's very kind. Thank-you.
--
Aaron Boodman
aaron | www @ youngpup.net
----- Original Message -----
From: "Ken Kogler" <ken.kogler at curf.edu>
To: <thelist at lists.evolt.org>
Sent: Tuesday, September 03, 2002 8:36 PM
Subject: RE: [thelist] .innerHTML help
> > one of the great things about javascript: expando properties...
> > *[snip]*
>
> Works like a charm, but I'd still like to get the number of *'s to match
> the number of letters of each censored word.
>
> BTW, I *love* the design of youngpup... :)
>
> --Ken
>
> --
> For unsubscribe and other options, including
> the Tip Harvester and archive of thelist go to:
> http://lists.evolt.org Workers of the Web, evolt !
>
More information about the thelist
mailing list