Below is the HTML code snippet:
<td style="vertical-align: bottom;"><div id="resultCount">n.v.</div></td>
Accompanied by this JavaScript code:
function processResultCount(data) {
$("#resultCount").html(formatNumber(data.resultCount, "."));
$("#resultCount2").html(formatNumber(data.resultCount, "."));
for (property in data) {
var value = data[property];
$("#" + property).html(formatNumber(value, "."));
}
function formatNumber(nStr, delimiter) {
nStr += '';
x = nStr.split('.');
x1 = x[0];
x2 = x.length > 1 ? '.' + x[1] : '';
var rgx = /(\d+)(\d{3})/;
.....
......
In Internet Explorer 8, an issue arises with the message: "resultCount is null or not an object"