Quantcast
Channel: Toolset » All Posts
Viewing all articles
Browse latest Browse all 20145

Reply To: [Assigned] CRED – limit taxonomy to 1 selection

$
0
0

Dear Deva,

Did you try with 'genre[]'. The brackets are needed as part of the field name.

In any case, try with this code instead:

jQuery(function( $ ) {
  $( "input[name='category[]']" ).click( function() {
    $( "input[name='category[]']" ).not(this).removeAttr('checked');
    return true;
  } );
} );

Please let me know if you are satisfied with my answer and if I can help you with any other questions you might have.

Regards,
Caridad


Viewing all articles
Browse latest Browse all 20145

Trending Articles