Nearly finished on a JQuery Mobile project - the app is mainly a form spread out over several pages.
What I'm struggling with is creating a 'cancel' / 'clear' function to wipe the form input fields.
I have all the text fields cleared and the select menus refreshed BUT cannot for the life of me work out how to deselect radio buttons.
This is pretty important as I have some dynamically appearing inputs depending on what the user selects to some radio button questions so when they aren't cleared from the last use it breaks the user experience.
I've searched google and the board and it seems there is no generic .refresh() function for radio buttons in JQuery Mobile.
Does anyone have a solution or hack for what I'm trying to achieve?