alternating between even and odd elements in json with JS – Jquery ajax
I'm trying to generate a .html div containers using .json file that looks like below. [ { "KEYWORD": XXXX, "DATEx": XXXX, "TOPIC": XXXX, "CSPANLINK": XXXX, "EXCERPTS": XXXX }, { "KEYWORD": YYYY, "DATEx": YYYY, "TOPIC": YYYY, "CSPANLINK": YYYY, "EXCERPTS": YYYY }]…