Page 1 of 1

Adding Items to Select List

Posted: Sun Jul 21, 2013 11:03 am
by Joe Bohen

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


Adding Items to Select List

Posted: Sun Jul 21, 2013 12:15 pm
by Illya Stepanov

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


Adding Items to Select List

Posted: Mon Jul 22, 2013 10:21 am
by Joe Bohen

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