Page 3 of 5

how to select more than one from a select menu?

Posted: Thu Aug 01, 2013 5:41 pm
by John Herdean

something happened to that localStorageItem 'interest_music' - it got deleted somehow. I have no idea how, but it did. about a couple weeks ago i had a bunch of Set Property Events also deleted from a page somehow.


how to select more than one from a select menu?

Posted: Thu Aug 01, 2013 8:13 pm
by Kateryna Grynko

Hi John,

Are there any other problems with the app integrity?Are you sure you couldn't delete them or elements connected with them?


how to select more than one from a select menu?

Posted: Fri Aug 02, 2013 1:40 am
by John Herdean

ohh, BTW let me mention that there are a bunch of predefined items already stored on the front-end select menu. So, the only thing im looking to do is to just have whatever values come in to just be checked off, and not change the items already there. The same way i was able to do with the localStorage values earlier.


how to select more than one from a select menu?

Posted: Fri Aug 02, 2013 1:42 am
by John Herdean

well im not 100% if nothing else was connected to it and got deleted, but im sure that I didnt delete the localStorageItem directly


how to select more than one from a select menu?

Posted: Fri Aug 02, 2013 3:14 am
by John Herdean

Regarding the 2nd problem (storing the results from aws server to local storage - from previous posting), this i finally got to work.

this is how i mapped it 1st and didnt work:

Image

I mapped it twice like this and works:

Image


how to select more than one from a select menu?

Posted: Fri Aug 02, 2013 3:15 am
by John Herdean

ok so now i just need somebody to point out what is wrong with this method of mapping? Thanks...


how to select more than one from a select menu?

Posted: Fri Aug 02, 2013 3:35 am
by John Herdean

sorry, false alarm. the # 2 problem (localSTorage mapping) is still outstanding. Apparently, before it read from the last time i saved into localStorage directly. I thought the REST service past, but I did further tests and found out the way I mapped it last (see last image posted) actually crashed the service (it returns an error):

Image

So, now I need help on both of my original problems. Please let me know what is wrong in each case. Thanks


how to select more than one from a select menu?

Posted: Fri Aug 02, 2013 3:51 pm
by John Herdean

how are we doing with these 2 issues?


how to select more than one from a select menu?

Posted: Fri Aug 02, 2013 4:27 pm
by John Herdean

Hi Marina, thanks for this JS. If I had a selectmenu with just a single value, what would the JS look like in that case? Thanks again.


how to select more than one from a select menu?

Posted: Fri Aug 02, 2013 4:52 pm
by Kateryna Grynko

Hi John,

As for "404 Not Found" - please check your request URL and also check the response on developer console Net tab (F12).