No se si es fácil o no... pero a mi no me sale...
tengo
Código HTML:
previewImage.src = this.src.replace(/_fotoc/g, "_foton");
y tengo que hacerle tambien
Código HTML:
previewImage.src = this.src.replace(/chiquitas/g, "medianas");
pero si hago
Código HTML:
previewImage.src = this.src.replace(/_fotoc/g, "_foton");
previewImage.src = this.src.replace(/chiquitas/g, "medianas");
no anda..... necesito hacer 2 reemplazos en un mismo string y no me sale...