My code works perfect in firefox and gives error in IE. any ideas?
I have a dropdown with various options, I am trying to show/hide options in another dropdown based on
Sadly, you just can't. IE don't support hide of individual options in a select, neither Chrome or Opera. This feature isn't cross browser.
What you can do is remove the option and add it again later...