javascript - JQuery, getting value of checked radio button, why is this not working? -


I'm trying to get the value of a check radio button as below, but it just keeps providing undefined is. I'm using Firefox on Ubuntu, so I do not know if there are some strange annoying ads in the browser or, I appreciate any advice because this is driving me crazy:

  & Lt; Input name = "TagRow_ddd" type = "radio" value = "p" & gt; & Lt; Input name = "tagRow_ddd" type = "radio" value = "r" & gt; Warning ($ ('Input [name = tagRow_ddd]: check'). Val ())   

Jeffield:

That's exactly the output it should be given. : Checked The selector only finds the selected element ... you do not have any.



Comments