We cannot set a style, display:none on OPTION TAG in Chrome and IE, It can be done in Firefox !
Kinda Solutions :
1. Use disabled attribute for the OPTION
2. If you want to remove them permanently, use removeChild to delete the option.
3. If you want them to show/hide, then u might have to save the removed options into a javascript variable.
Subscribe to:
Post Comments (Atom)
Resolving Package Conflict with Level-Zero Installation; Fixing dpkg Error
Preparing to unpack level-zero_1.20.2+u24.04_amd64.deb ... Unpacking level-zero ( 1.20.2 ) ... dpkg: error processing archive level-zero_1....
-
How to fix Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' Apparently, Ma...
-
If you get the following error while installing FFMPEG or other packages on CentOS 7. Requires: libva.so.1(VA_API_0.33.0)(64bit) Follow...
-
Common error: fallocate: fallocate failed: Text file busy in ubuntu OS Check the allocation: free -m or sudo swapon --show Make sure ...
As of Chrome v71, display:none works but it is still accesible as default option and through the keyboard, so you have another option which is using both display:none and the disabled attribute
ReplyDeleteYou used to host 50-50 gop addict games? Add rsn: general name thx!
Delete