Hello all. I know I may not get much help here since this is a PHP board, but I figure I should give it a shot since this is my homeboard.
I wrote a little JavaScript snippet to hide and display my div's for a personal project.
My problem is that in IE when I click the checkbox nothing happens ... until I click somehwere else on the page.
In FireFox, everything works perfectly ... it auto refreshes the screen or something.
My question is: How can I make IE act like FF?
Here is one of the three functions I am using:
function showLogin(){
v = document.getElementById('loginDIV');
v.style.display = 'block';
x = document.getElementById('registerDIV');
x.style.display = 'none';
z = document.getElementById('selectAction');
z.style.display = 'none';
a = document.getElementById('redo');
a.style.display = 'block';
}
TIA. 🙂