// This variable string contains HTML character nextData = '<div>this is test data for next article></div>'; // Can't use them inside each(function() if(infEl.length) { mainContent.append(nextPost()); }
var prlxLabel = '<div class="prlxlabel">Scroll to continue with content</div>', prlxLabelEnd = '<div class="prlxlabel end">Scroll to continue with content</div>'; contentPara.append(prlxLabel); contentParaEnd.prepend(prlxLabelEnd);