7
rated 0 times
[
11]
[
4]
/ answers: 1 / hits: 40279
/ 8 Years ago, sun, august 7, 2016, 12:00:00
I'm trying to hide three divs when I click a button, but my js isn't working.
function display() {
document.getElementById(Contentable).style.display = none;
document.getElementById(savebtn).style.display = none;
document.getElementById(stylebar).style.display = none;
}
When I click the button there is an uncaught reference error that says none is not defined.
More From » jquery