Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $.getJSON( "https://news.utm.my/news.json", null, function(data) {
- $.each(data, function(index, value) {
- $('#rss_news').append('<p class="title"><strong><a href="'+value["url"]+'">'+value["title"]+'</a></strong><br><small><em>Posted on '+value["date"]+'</em></small></p>');
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement