Please tell me how to use jQuery to get its html content by clicking on the label and at the same time to get the value attribute of <input>
<div class="radio_buttons"> <div> <input type="radio" name="option" value="1" /> <label for="radio1">Текст radio кнопки №1</label> </div> <div> <input type="radio" name="option" value="2" /> <label for="radio2">radio кнопка №2</label> </div> <div> <input type="radio" name="option" value="3" /> <label for="radio3">Еще текст radio кнопки №3</label> </div> </div> Those. when you click on the first button, you should get the value "1" and html "Text of the radio button number 1