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

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -