Latchezar Mladenov
Posts: 0
Joined: Thu Jan 10, 2013 11:19 pm

Disable or enable button

When I load my startScreen i use this function

document.getElementById("button").disabled = true;

It was working correctly first time when i tested but after that it does not work and when i start testing there is a gray screen.

What is wrong with that function? Is there another solution to disable or enable button?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Disable or enable button

You have to check in the browser console if there are any JavaScript errors.

Return to “Issues”