Problem with radio type
I had a problem to get input radio post. To resolve it, I modified toggleRadio function.
Replace $('input.' + className).attr('checked', false); by $('input.' + className).prop('checked', false);
And fakeElement.next('input.' + className).attr('checked', true); by fakeElement.next('input.' + className).prop('checked', 'checked');
Then it works fine, if it can help someone ;-)
@JeremOnWeb could you provide me a pull request?
Thanks, anyway!
I had a problem with a checkbox, toggling it more than 2 times was always keeping a final value of "unchecked". Changing "attr" to "prop" (as suggested by JeremOnWeb) was a good fix for the problem.