after selecting any one option, the others become unselectable(disable)

How to do this, after selecting any one option, the others become unselectable(disable) . Please hint according to the given code snippet.
$(“.mcq”).on(“click”,”li”, function(){
$(this).addClass(“select”);
where
.mcq li.select {
background:#68c…


This content originally appeared on DEV Community and was authored by programmerabhi

How to do this, after selecting any one option, the others become unselectable(disable) . Please hint according to the given code snippet.
$(".mcq").on("click","li", function(){
$(this).addClass("select");
where
.mcq li.select {
background:#68c9c6;
color:#fff;
animation:zoomOut 300ms ease;
}


This content originally appeared on DEV Community and was authored by programmerabhi


Print Share Comment Cite Upload Translate Updates
APA

programmerabhi | Sciencx (2021-04-22T04:45:59+00:00) after selecting any one option, the others become unselectable(disable). Retrieved from https://www.scien.cx/2021/04/22/after-selecting-any-one-option-the-others-become-unselectabledisable/

MLA
" » after selecting any one option, the others become unselectable(disable)." programmerabhi | Sciencx - Thursday April 22, 2021, https://www.scien.cx/2021/04/22/after-selecting-any-one-option-the-others-become-unselectabledisable/
HARVARD
programmerabhi | Sciencx Thursday April 22, 2021 » after selecting any one option, the others become unselectable(disable)., viewed ,<https://www.scien.cx/2021/04/22/after-selecting-any-one-option-the-others-become-unselectabledisable/>
VANCOUVER
programmerabhi | Sciencx - » after selecting any one option, the others become unselectable(disable). [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/04/22/after-selecting-any-one-option-the-others-become-unselectabledisable/
CHICAGO
" » after selecting any one option, the others become unselectable(disable)." programmerabhi | Sciencx - Accessed . https://www.scien.cx/2021/04/22/after-selecting-any-one-option-the-others-become-unselectabledisable/
IEEE
" » after selecting any one option, the others become unselectable(disable)." programmerabhi | Sciencx [Online]. Available: https://www.scien.cx/2021/04/22/after-selecting-any-one-option-the-others-become-unselectabledisable/. [Accessed: ]
rf:citation
» after selecting any one option, the others become unselectable(disable) | programmerabhi | Sciencx | https://www.scien.cx/2021/04/22/after-selecting-any-one-option-the-others-become-unselectabledisable/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.