Skip to content

Instantly share code, notes, and snippets.

/gist:4496811
Created Jan 9, 2013

Embed
What would you like to do?
The selector:
:not(:not(input[type='text'], input[type='search'], :jqmData(type='search'), input[type='number'], :jqmData(type='number'), input[type='password'], input[type='email'], input[type='url'], input[type='tel'], textarea, input[type='time'], input[type='date'], input[type='month'], input[type='week'], input[type='datetime'], input[type='datetime-local'], input[type='color'], input:not([type]), input[type='file'])):not(input[type='color'][data-role='colorpalette'])
Formatted for clarity:
:not(
:not(
input[type='text'],
input[type='search'],
:jqmData(type='search'),
input[type='number'],
:jqmData(type='number'),
input[type='password'],
input[type='email'],
input[type='url'],
input[type='tel'],
textarea,
input[type='time'],
input[type='date'],
input[type='month'],
input[type='week'],
input[type='datetime'],
input[type='datetime-local'],
input[type='color'],
input:not([type]),
input[type='file']
)
):not(
input[type='color'][data-role='colorpalette']
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.