Ver Mensaje Individual
  #1 (permalink)  
Antiguo 20/01/2009, 05:27
villamdp
 
Fecha de Ingreso: noviembre-2007
Mensajes: 3
Antigüedad: 16 años, 6 meses
Puntos: 0
problema con tablesorter en IE

Hola estoy teniendo un problema con el tablesorter y los radio buttons en IE, al ordenar la tabla me borra el estado de las columnas que tienen radiobuttons, es decir me borra el seleccionado.
Me parece que hay alguna forma de hacerlo con las funciones sortStart y SortEnd pero no se como hacerlo para que me funcione...
adjunto mi codigo.. desde ya muchas gracias

$("#tarjetas").tablesorter({widgets: ['zebra']});

<table id="tarjetas" class="tablesorter" align="center" width="100%">
<tr>
<td>&nbsp;</td>
<td><a href="#">Tarjeta</a></td>
<td ><a href="#">Descripci&oacute;n</a></td>
</tr>
<tr>
<td id="CreditCardIndex" width="30">
<input type="radio" id="CreditCardIndex" name="CreditCardIndex"
onclick="chequearRadio();" >
</td>
<td ><wfs:wfwrite name="CreditCardBeanCollection"
property="formatedNumber" scope="page"/></td>
<td ><wfs:wfwrite name="CreditCardBeanCollection" property="description"
scope="page"/></td>
</tr>
</table>


function chequearRadio() {
for (var i=0;i<document.formaSelectCard.elements.length;i++ ) {
var e = document.formaSelectCard.elements[i];
if ((e.type == objectType)&&(e.checked)){
document.formaSelectCard.selectedIndex.value = e.value;
}
}
}


Alguien sabe como solucionar eso¿? desde ya muchas gracias!