I'm trying to get the $(document).height() size of my site, but the value shown is sometimes different than the size of the HTML (in preview element) it shows.
I've tried calling directly $("html").height() , but it also did not...
I am doing a JavaScript function to read a file that the user is uploading and sends to PHP via POST only content for insertion into the database.
I'm trying to send a array with the contents of the file, each posi...
I am facing a strange problem. I have some links to social networks with border-radius and with hover of edge rotation, as in the image below:
WhenIgivehovertothesesocialnetworklinks,adivthereonanotherpartofthesitelosesitsborder...
I set up a select through JSON below, the only problem is that it follows the order of the key, how to organize it alphabetically?
{
"12": "Acre",
"27": "Alagoas",
"16": "Amapá",
"13": "Amazonas",
"29": "Bahia...
I have a list of buttons ( <li> ):
<li id="1">link 1</li>
<li id="2">link 2</li>
<li id="3">link 3</li>
<li id="4">link 4</li>
<li id="5">link 5</li>
When the user clic...
I need to list objects and I have used the following function that is in jQuery. Is there an alternative to this in JavaScript only?
$.each(object, function(index, value) {
console.log(value);
});
I was testing border-radius and I got a debt ... Is there any way to with CSS invert the radius of curvature of border-radius ?
This is the shape shape I would like to get
Butfromthedocumentationitseemsthatborder-radiusdoesno...
When I enter the page PHP already has an error:
Notice: Undefined index: name in C: \ wamp \ www \ index.php on line 41
Here is the code:
include ("conexao.php");
$nome = $_POST["nome"];
$resul = mysql_query("SELECT * FROM funciona...
In order to protect against SQL injection, I need to devise a function that eliminates the possibility of someone trying to act in bad faith.
The question is, does mysqli bring with it any functionality to help counter this? In addit...