I have a span with class=\"span\" and a hidden field class=\"dropdown\".
class=\"span\"
class=\"dropdown\"
The span text changes, and I need to grab the text an
span
You need to change your code as below:
Click the button to display the content. Click Me