Ver Mensaje Individual
  #4 (permalink)  
Antiguo 01/03/2010, 04:05
Dany_s
 
Fecha de Ingreso: diciembre-2009
Ubicación: Misiones
Mensajes: 867
Antigüedad: 14 años, 5 meses
Puntos: 65
Respuesta: Negar un filtro en selector jQuery

si funciona con not

Código HTML:
<html>
<head>
<title>Untitled</title>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script type="text/javascript">
$(function() {
    alert($('body').find(":not('[id^=select_]')").length);
});
</script>
</head>
<body>
    <input id="select_1" value="input select_2">
    <input id="xxx1" value="input xxx1">
    <div id="select_2">div select_2</div>
    <div id="xxx2">div xxx2</div>
</body>
</html>