Quantcast
Channel: How to get feed of a page without 'story'/'story_tags'? - Stack Overflow
Viewing all articles
Browse latest Browse all 2

Answer by Himanshu Tyagi for How to get feed of a page without 'story'/'story_tags'?

$
0
0

This is how i handle this situation in JS :

var txt =  response.data[i].message;
if(txt==null){
      txt =  response.data[i].story;
}
alert(txt);

In your case, you can "continue" the loop if 'message' is null.


Viewing all articles
Browse latest Browse all 2

Trending Articles



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