exhtml
8/23/2017 - 3:01 PM

'Check' radio button with value equal to...

NOTA IMPORTANTE se basa en que estamos usando los radiobuttons/checkboxes de CT Paper

$('input:radio[name="emailLang"][value="' + userCulture + '"]').radio('check'); 

$('input:radio[name="emailLang"]').on('toggle', function(){
    var self = $(this);
    var lang = self.val();
    setFieldsContent(lang);
});
<label class="radio">
    <input type="radio" data-toggle="radio" name="emailLang" value="ES">
    <i></i> Español
</label>
<label class="radio">    
    <input type="radio" data-toggle="radio" name="emailLang" value="EN"> 
    <i></i> English
</label> 
<label class="radio">    
    <input type="radio" data-toggle="radio" name="emailLang" value="PT"> 
    <i></i> Português
</label>