2010-06-07 18 views

Respuesta

37

el siguiente código debe hacerlo ..

$('#selector :input').not(':button,:hidden').each(...); 
+0

gracias, que funcionó como sea necesario! –

3
$('#selector').find('input').not(':button').not('input[type=hidden]').each(function(i) { 
}); 

debería hacerlo. No estoy seguro de si éste

$('#selector').find('input').not(':button').not(':hidden').each(function(i) { 
}); 

también trabaja para ese propósito, pero vale la pena probarlo.

4
$("#selector :input:not(:button, :hidden)").each(function (i) { // do something 
0

Para mí, (jQuery 2.2.0)

no funcionaba

$('#signup-form :input:not(:hidden :button)').each(function(){ 
$('#signup-form :input').not(':hidden :button').each(function(){ 
$('#signup-form *').filter(':input:not([type=hidden][type=button])').each(function(){ 

DID

$('#signup-form *').filter(':input').not(':button').not('input[type=hidden]').each(function(){ 

O

$('#signup-form :input').not(':hidden').not(':button').each(function(){ 
Cuestiones relacionadas