I liked this trick….
</div>
var aVal = location.search.split(‘debug=’)[1] ? location.search.split(‘debug=’)[1] : ‘0’;
if (aVal == “1”) {
document.getElementById(‘debug-area‘).style.display = “block”;
} else {
document.getElementById(‘debug-area’).style.display = “none”;
}
This entry was posted in Uncategorized. Bookmark the permalink.