How do I store values into an array or hash to be recalled individually without adding individual identifier?
var myarray = [];
$(".express").each(function () {
myarray.push($(this).text());
});
function flashEXPRESS() {
$(".express").each(function () {
if ($(this).text() == 'NEW') { $(this).text() = myarray[???]; }
else { $(this).text() == 'NEW'}
});
}
var flashEXPRESSid = 0;
flashEXPRESSid = setInterval("flashEXPRESS()",1000);
setInterval, not strings.flashEXPRESSid = setInterval(flashEXPRESS,1000);