First I would check if your ID you set for that specific row is still
available on the client side. To do so, open that website or piece of html
in your browser, use your mouse: right click on the row and "inspect
element" (you might want to use Chrome or FireFox to do so)
If your ID is really in the HTML it is probably a timing problem. which
means that you want to select the DOM element (in this case your tr) before
it got rendered.