Page 1 of 1

radiobutton checked value

Posted: Thu Feb 06, 2014 10:23 am
by pritu patel

I am trying to retrieve radiogroup selected value using javascript action with onclick event. but it not reflacting.

i follow this url
https://getsatisfaction.com/apperyio/...

Image


radiobutton checked value

Posted: Thu Feb 06, 2014 11:55 am
by Kateryna Grynko

Hi Pritu,

Please make sure you specified a name 'radiogroup' correctly. What is displayed in alert?


radiobutton checked value

Posted: Thu Feb 06, 2014 11:59 am
by pritu patel

alert box retrieve "undefine"


radiobutton checked value

Posted: Thu Feb 06, 2014 12:02 pm
by pritu patel

Image

"radiogroup" is name of the radiogrouplist


radiobutton checked value

Posted: Thu Feb 06, 2014 12:04 pm
by pritu patel

this is my public link
http://appery.io/app/mobile-frame?src...

click somthing word in search box and after click on button
it will display popup and show the result


radiobutton checked value

Posted: Thu Feb 06, 2014 9:00 pm
by Maryna Brodina

Hello! It's not possible to do navigateTo and read values on this page at once prevar val = Appery("radiogroup").find(":checked").val();/preYou need to save (for example to localStorage) checked value on page with radiogroup (popupdemo page). When you return to upcoming page (on page Show event for example) - do necessary actions. Another way is to use jqm popup instead Appery.io one (which is in fact dialog) https://getsatisfaction.com/apperyio/.... But please note it's still not possible to read checked value because user didn't check anything yet, but you're trying to do preAppery("radiogroup").find(":checked").val();/pre already.


radiobutton checked value

Posted: Fri Feb 07, 2014 5:19 am
by pritu patel

thank you so much maryna..I will try another way