Page 3 of 3

How to access Appery component properties with javascript?

Posted: Tue Dec 23, 2014 10:44 pm
by Mike Maughan

Thanks for your help!


How to access Appery component properties with javascript?

Posted: Tue Jun 07, 2016 10:29 am
by saurabh8122815

hi evgene.

i have same issue here. i have one grid component and its bind with database. so list of records will be displayed. in grid component there are two buttons. if there are 10 records in database then those two buttons will repeat 10 times.

so its id will changed after bind with database. i try your code that you mention here.

$("[dsid=walkthroughitem_title"+i+"]").css("color", "#00ff00");

when i used that code it gives me an error(" i is undefine") and i used that code in success mapping of service where the array parameter bind with grid and i put that code on js("mobilegrid_12") but it doesn't work.

Please guide me here what i need to do?

Thanks.


How to access Appery component properties with javascript?

Posted: Wed Jun 08, 2016 8:22 am
by Serhii Kulibaba

Hello Saurabh,

Do you want to add this color to all walkthroughitem_title components? It is better to set it on the JS from the mapping, using variable element, e.g.:
preelement.css("color", "#00ff00"); /pre


How to access Appery component properties with javascript?

Posted: Tue Apr 18, 2017 10:14 am
by suresh

Link seems unavailable


How to access Appery component properties with javascript?

Posted: Tue Apr 18, 2017 10:15 am
by suresh

Link seems unavailable


How to access Appery component properties with javascript?

Posted: Tue Apr 18, 2017 11:46 am
by Evgene Karachevtsev

Hello Suresh,

Please check this link: https://docs.appery.io/reference#jque...