Quantcast
Channel: get multiple twitter feed with jquery - Stack Overflow
Viewing all articles
Browse latest Browse all 3

Answer by gdoron for get multiple twitter feed with jquery

$
0
0

Each time you use html(...) You override anything inside the element.

Extract all the data, then append it to the element:

var output = "";
for (i=0; i<4; i++){
    output += data[i].text;
}
jQuery("#main .left").html(output);

Note that you didn't use the loop index, you just used 0 for all the iterations: ...html(data[0].text);


Viewing all articles
Browse latest Browse all 3

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>