Follow the code:
$("#l_linha").change(function(){
var linha = $(this).val();
var dados = $("#l_linha").serialize();
$.ajax({
type: 'POST',
dataType: 'json',
url: 'buscarPonto.php',...
I have a difficulty that I'm sure is simple for you!
var request = require('request')
var a
var b
request('https://exrates.me/openapi/v1/public/ticker?currency_pair=eth_usd', function (error, response, body) {
a = JSON.parse(body)
b...
Is it possible to scroll to a specific location on the page using jQuery?
The location I want to scroll must have:
<a name="#123">here</a>
Or can you simply pass a specific DOM ID?
I implemented the recaptcha on the site, but it is very costly to users every time they log in to click on the images, I wanted it to appear after 3 attempts, but I can not do it, I want to do it via JS ...
I'm trying to make a gallery of images for a website, I got a demo that I found on the internet and I'm trying to edit it, but I'd like to modify it so that the images are merged, one left and one right, but not I found a way to do it. Can someo...
I would like to know how to execute a JavaScript function by taking its name from the database. Example:
data["nome_coluna"] // essa será a informação que estará no banco. (exemplo: somar();)
// Aí o objetivo é executar essa função dentro de...
To make validation of date field, the fact is that I can not get the size of the field, see:
<form action="" onsubmit="return valida()">
<input type="text" name="data" id="data"/>
<input type="submit" name="cadastrar"/&g...
I'm trying to get the following result using lodash:
[
{
"idpai": 1,
"pai": "joao",
"mae": "maria",
"filhos": [
{"id": 1, "nome": "joaozinho"},
{"id": 2, "nome": "pedrinho"}
]
}
]
with the following code:
var li...
I'm trying to make an insertion in MongoDB by passing some arguments in JSON:
{
"name": "TESTE",
"category": "B",
"service": "Novo processo",
"description": "Novo Teste",
"active": false,
"classmodels": [
{"...