Whing Dela Cruz
asked on
Hide and Unhide Table
Hello experts, How to hide and unhide Table? my table id is "myTable" I've tried this but it didn't work.
document.getElementById("m yTable").d isplay = "none";
document.getElementById("m
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Hi Monty and Megan that's working but not in div. My div id is "DivH8" its enable to hide only but cannot display back again. I'm using this to show again.
document.getElementById("D ivH8").sty le.display = "";
document.getElementById("D
ASKER
Never mind my last issue guys, I've found out the way i place my code was wrong. Thank you, so much, your solution is working.
Try this:
document.getElementById("DivH8").style.display = "block";
Please post as many details as possible, it'll help, the experts troubleshoot your problem.
Do you have a link to time page in question? If not, can you post a simplified version of your code?