Answer the question
In order to leave comments, you need to log in
How to hide a block on the main page using JS?
There is a div block with the astroid-column class.
The question is how to hide this block only on the main page using js
Thanks in advance
Answer the question
In order to leave comments, you need to log in
if ($sql)
{
....
}
if ($sql)
{
...
} else {
echo mysql_error($sql);
}
Perhaps there is simply no extension, in php > 7 it is not:
php.net/manual/ru/function.mysql-query.php
Enable error reporting in php.ini so that you do not wander through the code blindfolded. This saves years of life in the end.
Many people no longer see the difference between JS and JQuery....
document.getElementsByClassName('astroid-column').style.display = 'none';
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question