Please follow the steps:
1. Go to beta.worldofwomenfoundation.com and Sign in
2. username: annettecox
A candidate profile page will open up
3. I want to get the value selected in the field for the li element (https://imgur.com/a/pWiIsUn) "Are you a working professional or returning from a sabbatical" using jQuery. Based on the value selected, I will either hide or show the fields in the Sabbatical section.
4. I have also noted that a class gets appended "result-sabbatical" to the li element. But if a user selects any other value, then this class doesn't get appended to the newly selected value. It only updates on clicking the Update button on the page. In this case how will I manage to hide or show the fields correctly
I would like to know how to get the correct value selected in this field .