Problem with onClick() event

Hi,
no changes. I use that function without dataset, I need it because I have a box that, when clicked, must redirect to a page.