Joe Bohen
Posts: 0
Joined: Wed Nov 28, 2012 11:28 am

Adding Items to Select List

I am attempting to add items to a select list using the code below;

var ob = Appery('vehlist');
var val = 1;
var text = ‘ABC 123’
ob.prepend("" + text + "");
Appery('vehlist').refresh();

The list is empty if I console log the added item I get:
ABC 123

What is the correct method to get items into a select list?

Regards,
Joe

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Adding Items to Select List

Hi Joe, this tutorial should help you to get the idea :: http://docs.appery.io/tutorials/build...

Joe Bohen
Posts: 0
Joined: Wed Nov 28, 2012 11:28 am

Adding Items to Select List

Hi Illya, Thanks for the link. It worked for me!

Return to “Issues”