javascript/jquery- how to determine if a list/checkbox allows multiple values to be selected or not
<p>I am trying to parse through a typical form using jquery. I want to obtain all details about the various fields in the form- viz field name, field type (eg radio/checkbox/list)...</p>

<p>How do I determine if a field allows multiple values to be selected? (eg in check box or list box)?</p>

<p>If this cannot be done using jquery, then can it be done using pure javascript? I already have with me a ref to the element for which this (whether multiple values are allowed or not) has to be determined...</p>
