Srinivas Kotapally
Posts: 0
Joined: Tue Jul 23, 2013 2:12 pm

How can I add a reference to the Appery JavaScript API?

I tried to use it in an event on one of the forms and nothing happens.
Something like
var allergy = Appery("txtAppergy");
alert(allergy.val());

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

How can I add a reference to the Appery JavaScript API?

You don't need to include a reference to Appery.io JS API. It's included in every app automatically. What kind of component 'txtAppergy' is?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

How can I add a reference to the Appery JavaScript API?

Check your code and component name. Just tested and it works:

var input = Appery("in");
console.log(input.val());

Return to “Issues”