Report question

Question: Is getElementByClass safe to use across browsers like getElementById?