How to insert an array into a text area?
var itens = new Array();
var index = 0;
function adicionaItem(item, quantidade)
{
itens[index] = {nomeItem : item, quantidade: quantidade};
index++;
}
function concluirCompra()
{
document.get...
The idea is to make when calling a unique directive, it render the directive corresponding to the preconfigured CSS framework.
For this I have a global variable var window.styleSource = "bootstrap"; (after which I can set whatever valu...
I'm creating a Feed (dynamic content list) with the contents of a Facebook group's wall. I know there are some features that Facebook itself provides, such as the Social Plugin - Like Box . After a few tests, I saw some difficulties handling...
I'm starting the node studies and I decided to do an exercise in which I need to receive a value n through the node console, which will be the number of elements in an array and receive n elements through the node console.
The problem is that I...
I'm trying to do a row-by-row validation on a table as follows: If the product is marked as yes on one vendor, it can not be marked for another vendor. Can someone help me please? Follow template ...
$("button").click(function() {
$('#s...
I need to create a Masj on phone contact forms that shows the following result on the (00) 0 0000 - 0000 form in JavaScript without the use of Jquery.
<div class="row clearfix">
<div class="col-lg-2 col-md-2 col-sm-...
I wrote a form with these elements:
<div>
<label for="radio_pessoa_fisica" id="label_cpf_req">
<input name="pessoa" id="radio_pessoa_fisica" type="radio" value="fisica" required>
Pessoa Física
</lab...
Context
I'm inside an application in NodeJS, where I have a fairly large object that has several attributes and also attributes objects that have children, and I have a situation where I can not keep the attributes containing null values, so...
I need to find a way to exchange the data-id and data-content information to .number and .passo automatically, without having to depend on hover ().
I need to keep both the automatic form of this exchange as a presentation and hover () if the...