Ver Mensaje Individual
  #8 (permalink)  
Antiguo 30/12/2013, 14:07
williwaw
 
Fecha de Ingreso: diciembre-2013
Ubicación: Barcelona
Mensajes: 5
Antigüedad: 10 años, 4 meses
Puntos: 0
Respuesta: this.id me devuelve undefined

Tal com me has comentado te adjunto fichero bd-9094B.js
/* Dades*/

var categ = [
"9021 AAAAAAAAAAAAAAAAAAAAAAAAA 999999999 3821650 667777777 14112 961111111",
"8600 BBBBBBBBBBBBBBBBBBBBBBBBB 888888888 5860001 695555555 1954602 934444444",
"8607 CCCCCCCCCCCCCCCCCCCCCCCCC 777777777 5860701 624444444 12584 935877777",
"8610 DDDDDDDDDDDDDDDDDDDDDDDDD 666666666 5861001 613333333 16032 938606666",
"8611 EEEEEEEEEEEEEEEEEEEEEEEEE 555555555 5861101 612222222 16770 972553333"];

/* --------------------------------------------------------------------------------------------------- */

function fitxa(ofic,pos){
for (i=0;i<categ.length;i++){
if(categ[i].substring(0,4) == ofic){
if (pos == 2){ // Telefono/Corporativo
return categ[i].substring(35,44)+" / "+categ[i].substring(45,53);
}
if (pos == 3){ // Movil/Corto
return categ[i].substring(53,63)+" / "+categ[i].substring(63,71);
}
if (pos == 4){ // Fax
return categ[i].substring(71,80);
}
}
}

}

Muy amable por tu colaboración