I am able to bring in only a value in the combobox that is in the table of mysql, I need to be listed both items in the same combobox. It is appearing one in a combobox and the other just below.
<div class="container">
<% if(busca...
I need to get the current date and add days according to the selected
function calcular(){
var valor1 = parseInt(document.getElementById('dias1').value);
var valor2 = parseInt(document.getElementById('dias2').value);
var val...
I noticed that for some reason, a property called $$ hasKey has been added to the items in my array. Each item has this property with different values.
Example:
[0: {$$hasKey: 'Object1',
uf: 'ES'},
1: {$$hasKey: 'Object2',
uf: '...
The script below worked with the older version of js and Bootstrap, but after I started using the latest one it stopped ... I use it to return the form message!
If someone can help me, I understand little of json and js ...
// Quando carregado...
I have this code, but I want to access a attribute of an object that is within an array , but is returning undefined
obj1 = {
nome : 'name',
array : [],
funcao : function(element){this.array.push(element)},
getArra...
Good afternoon, I have a form, it has a text field that triggers the event .blur that takes the name entered and returns an id with ajax, takes the id saved in another input hidden, the problem is that the event only blur is triggered if I click...
I'm trying to store in a var, and then reinsert in body 3 elements of type " p ".
<body>
<p> Um</p>
<p> Dois </p>
<p> Tres </p> ....
When you do this:
<script>
var parag = document.quer...
How do I access the data from this Json file. For example return the name:
{
"potions": {
"1": {
"id": 1,
"name": "Aging Potion",
"image": "aging-potion.png",
"price": 29.99,
"effect": "Causes the drinker to...
I'm using JQuery to identify when the text box is text in the text box, like this:
CSS:
.inputtext {
border: 1px solid lightgrey;
margin: 0;
margin-top: 11pt;
width: 100%;
}
.inputtext:focus {
border: 1px solid gree...
Scenario
I have the following code.:
['tableA', 'tableB', 'tableC'].forEach(name => {
let local = new PouchDB(name, { auto_compaction: true })
let server = new PouchDB(serverUrl + name)
var filtro = {
include_docs: tru...