If my original function was:
document.getElementsByClassName(\'blah\')[9].innerHTML = \'blah\';
...how would I change that so I get that sa
The equivalent of
document.getElementsByClassName('blah')[9].innerHTML = 'blah';
is to use the :eq pseudo-selector:
$(".blah:eq(9)").html('blah');
or the eq function:
$(".blah").eq(9).html('blah');
(...and then the html function to set the inner HTML.)