Cita:
Iniciado por zerokilled
usa el metodo [url=http://www.w3schools.com/jsref/jsref_replace.asp]replace[/url] de los string. a ese metodo le vas a pasar la expresion regular que busque el caracter que deseas eliminar o reemplazar. el segundo parametro le pasas un string por el que debe reemplazar los caracteres encontrado.
MIRA YA LO REALIZE ASI PERO NADA MAS ME REMPLAZA EL PRIMERO EL SEGUNDO LO DEJA IGUAL
var string = '20/10/2010';
var newstring = string.replace('/','');
document.write(newstring);
COMO LE HAGO PARA QUE REMPLACE LAS 2 DIAGONALES