jQuery returning wrong selected radiobox?
I have a form input consisting of two radiobuttons, for one name, as below:
Within a jQuery function I reference which one is checked as such:
For some reason, even if I have changed the checked box on the page, if always returns the former.
Here’s the full code, for purposes of elimination:
Live version: http://pdo.elementfx.com/thumb/
The problem you’re running into is the
Try using the following selector intstead