jQuery checkbox and uniform plugin syntax

DanielAttard
DanielAttard used Ask the Experts™
on
This should be a simple question for someone.  Could somebody please explain the meaning of the following two lines of code:
$("select, input[type=file]").not('select[multiple]').uniform();		
$('input:checkbox, input:radio').checkbox();

Open in new window

I seem to have a problem related to these lines of code, but I thought I should first understand what they are doing before I start debugging anything.

Thank you.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Multitechnician
Top Expert 2014
Commented:
http://uniformjs.com/#docs
http://code.google.com/p/jquery-checkbox/

$('input:checkbox, input:radio') select all checkbox and radio button of the document
$("select, input[type=file]") select all dropdown boxes and file input of the document

Author

Commented:
Thanks for the post.  What about the reference to 'not' in the following:

$("select, input[type=file]").not('select[multiple]').uniform();

Open in new window

leakim971Multitechnician
Top Expert 2014
Commented:
$("select, input[type=file]").not('select[multiple]')

$("select, input[type=file]") select all dropdown boxes and file input of the document but NOT listbox (dropdown with a << multiple >> attribute)

<select multiple="multiple"
<select multiple=""
<select multiple="blabla"

Author

Commented:
Thanks for the help.  Much appreciated.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial