|
You should know that name is not advisable as an identifier for anything.
You should have tested that document.getElementById["review_" + commentResponse[i].review_id]} resolves to a DOM element, which it won't because you're calling a function using [] brackets.
|