domingo, 2 de junio de 2013

reemplazar todos los caracteres en javascript

function replaceAll( text, busca, reemplaza )
{
    while (text.toString().indexOf(busca) != -1)
        text = text.toString().replace(busca,reemplaza);
    return text;
}




.

2 comentarios:

Anónimo dijo...

Tremendous issues here. I am very glad to see your article.
Thanks a lot and I am taking a look ahead to contact you.
Will you kindly drop me a mail?

My web-site - Binary options Tutorial

Anónimo dijo...

Hello there! This is my 1st comment here so I just wanted to give
a quick shout out and tell you I really enjoy reading your
articles. Can you recommend any other blogs/websites/forums that go over the same subjects?

Thank you so much!

Here is my webpage ... commentgagnerdelargent