View Full Version : Have I stuffed up with this code?

10-02-2011, 01:58 PM
I'm really new to JavaScript and trying to use this code that I partially wrote myself, I've added two 'instructions' in it, but perhaps I have separated them wrong. I don't know, I'm really new to JavaScript.

Have I stuffed up?

onclick="document.getElementById('glance').style.display='block';document.getElementById('front').style.displ ay='hide'"

10-02-2011, 03:19 PM
Solved by ignace from phpfreaks.com.

The problem was 'hide' should have been 'none'.

This issue is solved.