How do I, when the user selects the unit, show the content div according to the selected unit? Would it be with jQuery?
<div class="form-group">
<label>Selecione a unidade</label><br>
<select class="form-co...
I need to insert into this following CSS class:
.bola {
width: 50px;
height: 50px;
border-radius: 25px;
position: absolute;
}
the variable var corBola = "#"+((1<<24)*Math.random()|0).toString...
How could I prevent reloading if something existed within a div ? and could it be prevented by making another div appear with the confirmation request instead of the alert of the javascript? I have no idea how I could do this...
Studying this question, I think the 2 seem ALMOST the same thing, but while the Factory returns an object when the function is executed (properties and functions do not use this , in this case closures are used) the constructor needs to be...
In the blur event of a field, I give a select in my bank and bring a value and fill in my html. My question is how do I get more than one result or a specific result in the ajax date.
The code below works, but it only brings monthly if the cu...
I'm trying to save an answer, but I can not, every time I refresh the previous answer back. Here's what I'm trying to implement:
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="utf-8">
<...
Hello, I'm developing a system in PHP where it works with lists of IPTV stored in services like pastebin. The user submits a url such as ( link ) in a form and my script will parse row by line of list contents. The problem is that the server tak...
Searching a little about Angular (v 2+) I saw that in many places it is commented that Angular has TypeScript support and that its use is more common than pure JavaScript, so what are the advantages and disadvantages of using TypeScript or JavaS...
I'm a beginner in HTML and JavaScript and I'm stuck in trouble for a college project. Basically I have an e-commerce without BD, so the products are defined in HTML.
My problem is that by clicking the add to cart button, it does not different...