I have this code
<input type="checkbox"/>
<span>Foobar</span>
<input type="radio" checked="checked">Foo
<input type="radio">Bar
How to get the text Foo with jQuery where $(this) is the node <input type="checkbox"/>?
I can get the <input type="radio" checked="checked"> with $(this).parent().find(":checked").not($(this)) but I don't know how to have the text.
<input type="radio" checked="checked" />Foo or<input type="radio" checked="checked">Foo</input>or am I mistaken?End tag: forbidden