Search found 6 matches

Go to advanced search

by Kevin6209373
Thu Sep 05, 2013 10:23 pm
Forum: Issues
Topic: Populate menu select item from local variable array
Replies: 16
Views: 2529
 
Jump to post

Populate menu select item from local variable array

I got the following variation on your sample code to work.. //I HAD TO MOVE WHERE THE .listview('refresh') was // I know a single refresh at the end should work, but I couldnt get it to. var data = ["New item 1", "New item 2", "New item 3"]; var listComponent = Appery(&...
by Kevin6209373
Thu Sep 05, 2013 9:29 pm
Forum: Issues
Topic: Populate menu select item from local variable array
Replies: 16
Views: 2529
 
Jump to post

Populate menu select item from local variable array

This is the code I was executing: var data = ["Localstorage item 1", "Localstorage item 2", "Localstorage item 3"]; var listComponent = Appery("mobileList"); $.each(data, function(index, value) { listComponent.append( $('a rel="nofollow"' + value + '...
by Kevin6209373
Thu Sep 05, 2013 7:21 pm
Forum: Issues
Topic: Populate menu select item from local variable array
Replies: 16
Views: 2529
 
Jump to post

Populate menu select item from local variable array

I also tried referencing the listitem instead of the list (in case I had misunderstood)..
But this is what I got..
Image

Thanks!

by Kevin6209373
Thu Sep 05, 2013 7:20 pm
Forum: Issues
Topic: Populate menu select item from local variable array
Replies: 16
Views: 2529
 
Jump to post

Populate menu select item from local variable array

That doesn't quite do it. When I try this code, I get the items added at the bottom of the list. I adjust your code to make the data items stand out var data = ["Localstorage item 1", "Localstorage item 2", "Localstorage item 3"]; https://d2r1vs3d9006ap.cloudfront.net/s...
by Kevin6209373
Thu Sep 05, 2013 5:21 pm
Forum: Issues
Topic: Populate menu select item from local variable array
Replies: 16
Views: 2529
 
Jump to post

Populate menu select item from local variable array

I realize that this topic is marked as answered. I will repost this as a new question.

Thanks,
Kevin

by Kevin6209373
Thu Sep 05, 2013 7:39 am
Forum: Issues
Topic: Populate menu select item from local variable array
Replies: 16
Views: 2529
 
Jump to post

Populate menu select item from local variable array

Oleg, I got your example above working for a dropdown list, but I am struggling to do something very similar with a simple list. I would like to append my data to a List, instead of to a select Menu. How can I do that? - append does not append the data to a list I want to load my data to a list, but...

Go to advanced search