Page 1 of 1

radio button value change event store in local storage

Posted: Mon Jan 27, 2014 1:52 pm
by pritu patel

I tried to store value of radio button change item in local storage but it retrieve me undefined value in another page


radio button value change event store in local storage

Posted: Mon Jan 27, 2014 2:26 pm
by Maryna Brodina

Hello! Please post screenshots which show how do you save ant retrieve data.


radio button value change event store in local storage

Posted: Mon Jan 27, 2014 2:39 pm
by pritu patel

yes!!!!
Image


radio button value change event store in local storage

Posted: Mon Jan 27, 2014 2:40 pm
by pritu patel

radio button value change event store in local storage

Posted: Mon Jan 27, 2014 2:42 pm
by pritu patel

radio button value change event store in local storage

Posted: Mon Jan 27, 2014 2:42 pm
by pritu patel

radio button value change event store in local storage

Posted: Mon Jan 27, 2014 4:54 pm
by Kateryna Grynko

Hi Pritu,

On the first page, you should use Selected instead of Visible.

Sorry, there is a bug. Instead of Set local storage variable action use Run JS with the following code:prelocalStorage.setItem("c", $(this).val());/pre


radio button value change event store in local storage

Posted: Tue Jan 28, 2014 4:35 am
by pritu patel

sorry for late reply......

Wowwwwwwwww !!!! Katya it's working.....
I remove localstorage event and set localStorage.setItem("c", $(this).val()); in javascript code ....and it's working perfectly.....

thnk u so muchhhh.........


radio button value change event store in local storage

Posted: Thu Jul 24, 2014 5:15 pm
by Dan Hoeck

this was very helpful for me as well! Thank you!