How can I load web app data into a javascript array?


i'd load web app data javascript array. has done or know best way accomplish this?

i use code below sort web apps. might started.

 

var arr = [];

                    $(".trainers li.country").each(function(){

                              var obj = {};

                              obj.name = $(this).find("p").html();

                              obj.property = $($(this).children()[1]).html();

                              arr.push(obj);

                    });



More discussions in Web Apps


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support