- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2022 10:02 PM
I want to hide that square box which is getting displayed.
Once I change this style="display: block" to style="display: none" it will get hidden. Can someone show me how can we do it.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2022 01:00 AM
Here is the solution for this:
var x = document.getElementById('tabs2_section'); //enter any tag id name which u want to hide
if (x.style.display === "none") {
x.style.display = "block";
} else {
x.style.display = "none";
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2022 01:00 AM
Here is the solution for this:
var x = document.getElementById('tabs2_section'); //enter any tag id name which u want to hide
if (x.style.display === "none") {
x.style.display = "block";
} else {
x.style.display = "none";
}