|
Answer» Hi All,
I need to get the text of tag which has "for" ATTRIBUTE but doesn't have id. There are many other SIMILAR NODES, with only the "for" attribute differing. I have 2 radio buttons, when i click on the radio button, i am fetching the id of the radio button selected. The id of the radio button is same as that of the "for" attribute of tag. So, i want to use the id of radio button and compare it with the label tag and fetch the text. Here is the example node that contains the label w/ text I'm trying to select.
<label for="ASMTQUESTION:3d6686fe4fd9f200beb2e3518110c74b-0" title=" " data-original-title=" ">Text</label>
Expected Results Result 02
Any help will be highly appreciated!!! Thanks in ADVANCE!!
|