-
1
- #1
Hi,
I had read that you can hide select list options cross browser with the hidden attribute and IE11 supports this.
However, I can't get it to work?
Does IE11 support this?
I am using JQuery to apply it..
I have tried using the property method
But that doesn't work either and just adds the hidden attribute with an empty value anyhow?
Any ideas?
Thanks,
1DMF
"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Free Electronic Dance Music
I had read that you can hide select list options cross browser with the hidden attribute and IE11 supports this.
However, I can't get it to work?
Does IE11 support this?
I am using JQuery to apply it..
Code:
$('#position option[value="R"]').attr('hidden','hidden');
I have tried using the property method
Code:
$('#position option[value="R"]').prop('hidden',true);
But that doesn't work either and just adds the hidden attribute with an empty value anyhow?
Any ideas?
Thanks,
1DMF
"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Free Electronic Dance Music