the textbox isn't very relevant in this case ... we would need to have a look at the surrounding code ... i think the problem is the setting of the display of the divs? i think that such a line:
fails ... and i suppose that "leftDiv" is either not unique or that id is not present at all ... so i asked for the html-code where the divs appear.
Code:
document.getElementById("leftDiv").style.visibility='visible';
Comment