Will it be better if jQuery accept string for radio/checkbox selection?

Will it be better if jQuery accept string for radio/checkbox selection?

If I use jQuery to select radio/checkbox, it accepts array only, I think it may be good if jQuery can accept string for single selection.


  1. 1416c1416,1418
    <             if ( jQuery.isArray(val) && rradiocheck.test( this.type ) ) {
    ---
    >             if ( rradiocheck.test( this.type ) ) {
    >                 if(!jQuery.isArray(val))
    >                     val=jQuery.makeArray(val);