I have a sample work done in JSFiddle and I have updated the code by adding a radio button. If selected, I would like to add some text next to the selected radio button. When I clicked, it seems not even geting alert working. Could someone help on what I am doing wrong?
$('input[name=primaryAgent]:radio').click(function(){
alert("test alert");
$("#note").text("Helllo next by Primary");
});