Well, I have a set of <img src=“”> . I need, as soon as the page loads, add a class to the first of that set with Jquery , but remembering that they have a relative, href .
...
<a href="#">
<img src=“”...
I need to make a function that when just clicked on the div with the last class is visible and the rest is hidden.
<a href="javascript:teste('minhaDiv');" class="expander">Link</a>
<a href="javascript:teste('minhaDivo');" class=...
I have the following array:
var arr = [
{'David': '1'},
{'Camilla': '2'},
{'Sadat': '3'},
{'Vanuza': '4'},
{'Diego': '5'}
];
I wanted to access the "Camilla" value of the array I created.
Ps: I want to access the value of the key...
I want to build a jQuery that applies a limit of 255 characters within input .
My idea and do something like this:
$(".loading").on('input', function () {
// aqui eu tenho que fazer o bloqueio
});
I have an adult entertainment website and I need to make an 18 year term to enter the site before ... It will be displayed a screen confirming the age and such of the person so she can click ok if it is bigger. But the jquery code does not run a...
I have this code that filters a JSON object:
var filtrar = function (horamin, horamax)
{
var data = JSON.parse(JSON.stringify(json.aPesquisa));
let result = data.filter(item => {
let voos = item.trecho[1].voo.filter(voo => {...
I am having problems, Javascript is very confusing for me, let's see that I have a function that accomplishes all this in jQuery
$(".message-form-content").attr('style', ' '); // Esvazia o style da div
$("#load-content").html(success); // Pree...
I am developing customizable graphics by users where they can select the options they want by sending the parameters to the php that searches the sql and returns me what I want.
For graphics I'm using highcharts.
But I'm having a hard time...