Citation de code source en JavaScriptn° 277
12 June 2016 à 01:30
if ($('#hdnGender').val() == "" || $('#hdnGender').val() == "notdisclosed") {
$('#cboGender').val('notdisclosed');
} else if ($('#hdnGender').val() == "Male") {
$('#cboGender').val('Male');
} else {
$('#cboGender').val('Female');
}