I am attempting to create an online "manual" with a html files and an array. I've been able to get the string name of the html file to appear, but not the content of the page. Where am I going wrong?
function referencePages () {
var rCurrentPage = 0;
var refArray = ["R00_Ref_Cover.html", "R01_Abbreviations.html","R02_Definitions.html"];
var rTotalPages = refArray.length;
document.getElementById("page_content").innerHTML = refArray[rCurrentPage];
rNextButton ();
rBackButton ();
}