[thelist] .innerHTML help

Ken Kogler ken.kogler at curf.edu
Tue Sep 3 22:47:00 CDT 2002


> spans[i].innerHTML = spans[i].oldInnerHTML.replace(/./, "*");

That's only replacing the first letter of each word. :(

> /./, "*"

Is that regex? I've tried and failed numerous times to learn it. Even
read that highly-rated evolt article on it...

--Ken




More information about the thelist mailing list