I'm looking for something like ...
$(':input:not(readonly)') // all inputs which are not readonly
but struggles to find the syntax.
Any pointers? thank
This should work:
$(":input:not([readonly])")
$('input:not([readonly])')
will be displayed read-only, readonly = "true" and readonly = "readonly"
I assume you are looking for something like the following:
$('input:not([readonly="readonly"])')
Take a look at jQuery's various selector attributes .
I recently did something like this:
$('#element').find(':input').not(':input[readonly]');