$("#myform :input:not(:checkbox):not(:button)");
You can use :not() combined to :checkbox and :button selectors:
$("#myform :input:not(:button):not(:checkbox)");
and test it with success with the example provided in the documentation of :input
EDIT: :input
also selects textarea
, select
, button
and input[type="hidden"]
according to documentation (and a useful example)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With