This seems a silly question but I’m not getting how to do this. I have this HTML:
<label for="id_form-1-somefield">some name</label>
<label for="id_form-2-somefield">some name 2</label>
...
I need to change the string “some name” in the label. How can I build a selector change the value “some name”?
Any clues?
Will do as you ask. Remember that a selector on an id will be fastest, so if you can make a unique id and select on that.