I’m having trouble using JQuery to change the value of a label. In particular:
<label for="answer[649][radiobutton_other_value]">Other:</label>
My goal is to change the value “Other:” to something else. Is there any way to use “answer[649][radiobutton_other_value]” as an anchor to target the label?
yes, just target the label with
label[for^="answer[649]"]this will find a label whose
forattribute is starting withanswer[649]and will change its text