function getFrequency(getval){ if(getval=='10'){ $("#freq_date").html(""); } else if(getval=='12'){ $("#freq_date").html(""); } }