Ver Mensaje Individual
  #7 (permalink)  
Antiguo 03/09/2005, 12:43
Avatar de JavierB
JavierB
Colaborador
 
Fecha de Ingreso: febrero-2002
Ubicación: Madrid
Mensajes: 25.052
Antigüedad: 22 años, 2 meses
Puntos: 772
Hola de nuevo.

A ver que tal estas modificaciones:
Código PHP:
for(var a=0;a<As.length;a++) {
    if (As[
a].previousSibling) {
      
txt = As[a].previousSibling.nodeValue;
      
txt txt.substr(0,txt.length-1);
      As[
a].previousSibling.nodeValue txt;
    }
    if (As[
a].nextSibling) {
      
txt = As[a].nextSibling.nodeValue;
      
txt txt.substr(1,txt.length);
      As[
a].nextSibling.nodeValue txt;
    }
    
corchete1=document.createElement("DIV");
    
corchete2=document.createElement("DIV"); 
Saludos,