I have the following list:
<ul id = "qualquer">
<li id = "listitem1" class = "middle_item">
</li>
<li id = "listitem2">
</li>
<li id = "listitem3">
</li>
</ul>
In my pr...
I need to make an effect like this on this site link
Wellwhereisitmarked?IwouldliketoknowhowthiseffectworksandifthereisanypluginforitFollowmytestcode:
.chart {
margin: 0 auto;
position: relative;
width: 70px;...
I can not print the table, what's wrong with my code?
var json =
[
{
"tempoNS":104095548,
"tempoMS":104,
"tamanhoArray":9000,
"nome":"Bubble iterativo"
},
{
"tempoNS":84671736,
"tempo...
Code:
var i = 0, finished = false;
while( (i < acentos.length) && !finished){
Question:
I have a bool variable getting false, and in my while I'm denying it.
If I am denying a false variable, it will tr...
I have an input:
<input id="id_nome" name="nome" type="text" class="form-control" style="text-transform: uppercase" autofocus required>
When I type it is uppercase thanks to transform: uppercase , but when I try to read the cont...
How do I get all the values that are inside this foreach and show off it? It only takes the last one when I give ALERT:
var arrayAdicional = item.ingrediente_adicional.forEach(function(ingrediente)
{
prodadicional = ingrediente.ingrediente.n...
How do I show the label name and the input name only when the user selects the inactive option?
<div>
<label>Status</label>
<select name="status">
<option value="Ativo">Ativo</option>
<option va...
In a question , how to do alert , has one answer, the most voted, that says:
The alert is not a good solution to show some message to the user in the browser but I will answer what you asked ...
What would be the good solution...
I have the following code html :
When he clicks delete on div excluir-produto-carrinho he should get the id of the data-id-prod-cart . How do I do this?
I have tried the delete button which is the div excluir-pro...
I have a function that should be called, but its name is dynamically mounted, based on a variable that will come as a parameter.
Follow the functions as an example. The first one is called and takes the name of the program.
Call the second on...