Freedom-n-Democrazy Posted October 2, 2011 Share Posted October 2, 2011 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 some where? onclick="document.getElementById('glance').style.display='block';document.getElementById('front').style.display='hide'" Link to comment https://forums.phpfreaks.com/topic/248263-im-so-new-to-javascript-i-dont-even-know-what-the-subject-is-code-stuff-up/ Share on other sites More sharing options...
ignace Posted October 2, 2011 Share Posted October 2, 2011 'hide' should be 'none' Link to comment https://forums.phpfreaks.com/topic/248263-im-so-new-to-javascript-i-dont-even-know-what-the-subject-is-code-stuff-up/#findComment-1274916 Share on other sites More sharing options...
Freedom-n-Democrazy Posted October 2, 2011 Author Share Posted October 2, 2011 Oh your so right! You know I had a 6th sense something was wrong and so obvious but I couldn't see it. You proved that sense right! Thanks so much for your help, ignace! Link to comment https://forums.phpfreaks.com/topic/248263-im-so-new-to-javascript-i-dont-even-know-what-the-subject-is-code-stuff-up/#findComment-1274922 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.