Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- heading = $('#heading').html(heading);
- var countryName;
- for (i=0; i < profiles.length ; i++){
- console.log("I am in the for loop");
- if ((profiles[i]).id === profile.id){
- countryName = console.log((profiles[i]).label);
- break;
- }
- }
- console.log(countryName);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement