Update a label within the DOM
<p>I have a JavaScript function that looks like this:</p>

<pre><code>function recalculateWhatIfCurrentRate(aEle, aChangedLabel, recordID, yearEndCurrentRate) {
    var rate = document.getElementById(aEle).value;
    document.getElementById(aChangedLabel).value = yearEndCurrentRate * (1 + rate);
}

aEle = ctl00_cpMain_tbCurrentRatePercentIncrease_131578
aChangedLabel = ctl00_cpMain_lblScrollCurrentRate_131578
recordId = 131578
yearEndCurrentRate = 100.65
</code></pre>

<p>I want to change the actual text of <code>aChangedLabel</code>.</p>

<p>Why doesn't it change in the DOM?</p>
