jQuery – Check/Select a radio input

The following jQuery code check/select a radio button.

$('#radio-input-id').attr('checked', 'checked');

 

Done =)

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.