I have 2 paired input fields, and need to toggle enabled/disabled between them (if one is enabled the other should be disabled).
I have no idea how to approach this, any ideas?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Example: the
item1is enabled, theitem2is disabledThis will toggle the items when some kind of switch is clicked. Use it on whatever toggles it, i.e. the button above:
If you really want to make sure they’re opposites;