jquery - Populated Selectbox option hide not working in IE & Safari -


i have populated selectbox. default when page has loaded options in selectbox should hide. tried hide css, output not working in ie & safari. alternately used jquery not working in ie & safari. can please help

css way

select#curriculumid option {     display: none; } 

jquery way

jquery('#curriculumid option').css("display","none"); jquery('#curriculumid option').hide(); 

my html looks like

<select data-placeholder="program of interest" data-placeholder-alternate="program of interest" data-validate="required" id="curriculumid" name="curriculumid" title="program"></select> 

selectbox option populated backend


Comments

Popular posts from this blog

ios - Is 'init' forbidden as *part* of a variable name? -

file - Python: AttributeError: 'str' object has no attribute 'readlines' -

c# - Get the Class name in a class with atribute inside a attribute method -