título avanzada, simple pregunta:
¿Cómo puedo hacer lo siguiente en jQuery (ocultar todo excepto $(this)
)?
$("table tr").click(function() {
$("table tr:not(" + $(this) + ")").hide();
// $(this) is only to illustrate my problem
$("table tr").show();
});
jQuery hace que todo sea mucho más elegante. +1! – JorenB
+1. Freakin hermosa. – Lee
¡jQuery es la segunda invención más grande de todos los tiempos después de la computadora! ¡Lo amo! :) –