Fred J. Fred J. - 1 year ago 120
jQuery Question

exclude elements from serializedArray

How can I get

being applied of the
element to exclude elements with a given class? The following failed to ignore the
elements with class
. Thanks


.inactive {
pointer-events: none;
opacity: 0.3;

Answer Source

Kind of a disgusting answer but an answer none the less.
Not really sure how your selector works.

    $("form .inactive>input").attr("disabled", "true");
    $("form .inactive>input").attr("disabled", "false");

Should work.