Can someone please tell me why the console doesn't see the checked value of the input tag?
Asked
Active
Viewed 69 times
0

loliki
- 947
- 2
- 16
- 38
-
2Use attr instead of prop – Pranav C Balan Jun 12 '16 at 18:06
-
Prop of check current state not the attribute value – Pranav C Balan Jun 12 '16 at 18:07
-
There is a really good explanation of this topic [here](http://stackoverflow.com/questions/5874652/prop-vs-attr). – prithajnath Jun 12 '16 at 18:13
-
https://jsfiddle.net/atg5m6ym/5835/ - works fine here - I think this is a problem in your code. – Przemek Jun 12 '16 at 18:14
-
1Do you have multiple input's with that same id? – Jun 12 '16 at 18:27
-
Welcome to SO. Please visit the [help] and take the [tour] to see what and how to ask. HINT: Post code and effort instead of pictures of code – mplungjan Jun 12 '16 at 19:07