All Questions

2
answers

$ (document) .height () does not return the correct value

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...
asked on 22.01.2015 / 04:54
1
answer

Max Array size passed by POST

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...
asked on 24.02.2015 / 13:59
1
answer

Hover Effects Interference

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...
asked on 16.01.2015 / 16:24
4
answers

How to alphabetize a select obtained through a JSON?

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...
asked on 11.07.2016 / 19:54
3
answers

DELETE FROM users WHERE user_id = $ id

I have a script of simple PHP + MySQL query: <table > <tr> <td ><h2>GERENCIAR ANUNCIOS </h2></td> </tr> <tr> <td > <table > <tr> <th >ID</th>...
asked on 30.01.2015 / 13:02
3
answers

How to execute code only on the first click?

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...
asked on 14.04.2015 / 06:39
3
answers

Traversing objects with pure JavaScript

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); });     
asked on 04.10.2015 / 16:24
3
answers

How to make an Inverted Border-Radius?

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...
asked on 02.08.2018 / 19:27
4
answers

How to check for value in an array in PHP?

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...
asked on 10.05.2014 / 17:38
2
answers

How to detect intrusion attempts? [duplicate]

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...
asked on 20.10.2015 / 07:20