Category: jQuery

Post Pic

jQuery : Find the label for a selected radio button control

Working on a project this morning and had some trouble finding a way to output the label for a checked radio button input control so thought I would share it in case it is of any use to someone else: $(‘input[name=myRadioButtonListName]:checked + label’).text() Always interested to hear of any alternative/improved methods of achieving the same [...]

SagePay Approved Partner
Microsoft WebsiteSpark

My Productivity