Hello
Hide fields according to numbers 11,12,13 Other than that it shows all
$(document).ready(function(){
$$("#r_Video").show();
$("#r_Video2").show();
$("#r_pdf").show();
//Hide fields according to numbers 11,12,13 Other than that it shows all
$("#x_Competitions_name").change(function() {
var str = $("option:selected", this);
if (this.value == "10") {
("#r_Video").hide();
$("#r_Video2").hide();
$("#r_pdf").hide()
} else if (this.value == "11") {
$("#r_Video").hide();
$("#r_Video2").hide();
$("#r_pdf").hide();
} else if (this.value == "12") {
$("#r_Video").hide();
$("#r_Video2").hide();
$("#r_pdf").hide();
} else {
$("#r_Video").show();
$("#r_Video2").show();
$("#r_pdf").show();
}
});
});