Questions tagged as 'jquery'

3
answers

Go through a range of jquery elements

How to go through a range of elements, for example starting from id p2 to id p7 and modifying the text of each of the elements that I visited, I do not have the remotest idea of how to do that. If you could give me an idea or provide an example...
asked by 25.09.2016 / 16:58
2
answers

validate data when selecting an option in a combobox

I have a select with the following data: <select name="entidad" id="entidad"> <option disabled selected>Seleccionar Entidad</option> <option>TODAS</option>...
asked by 02.04.2018 / 21:46
2
answers

How can I make it recognize "/" when concatenating with javascript?

It turns out that I can not make it show me as a url when I concatenate the url images/ that is the folder that I have to put images, the code that armo is the following. carouselImagen+= '<div class="carousel-item active" id="planti...
asked by 24.04.2018 / 15:58
2
answers

How to determine the sublevels of an array? Using a recursive function

I have a table in the database in which I keep all the functions of my menu, it has the following columns: table: functions / columns: id, father_id, icon, link, title And I want to order the parents and children as I have registered in th...
asked by 26.04.2017 / 23:01
1
answer

Change the value of an input with jQuery or Javascript

I want to change the value written in 55 inputs that have the same class called input_valores_provisionales and different id (1,2,3,4 ...) in a function as soon as the page is loaded here the script $(document).ready(fu...
asked by 06.04.2018 / 07:46
2
answers

Add or subtract 1 in jquery

I am trying to add or subtract 1 in an input but I do not finish it. the code that I have is this: onclick="$('#StockPagina').val($('#StockPagina').val()+1).change()" this changes the value of the input StockPagina but I add a 1 at the end...
asked by 14.12.2017 / 21:45
2
answers

List html in a textarea

I know that to list in html code is: <ol> <li>Este será el 1. </li> <li> Este será el 2. Y así sucesivamente. </li> </ol> The fact is that I need it in a textarea or in some way. I need to make the us...
asked by 13.07.2017 / 09:35
5
answers

How do I get all the elements that have a class? by jQuery [closed]

I get the elements well by javascript but not by jQuery and I need them by jQuery . By javascript I get them this way: let all = document.querySelectorAll('.botonEstado'); console.log(all); And it actually gives me the result....
asked by 05.08.2017 / 19:24
2
answers

Unexpected execution of setTimeout Javascript

For the following instruction: for(var i = 0; i<3; i++){ alert("Primero->"+i); setTimeout(function() { alert("Segundo->"+i); }, (i+1)*600); } The output is as follows:    First-> 0       First - >...
asked by 23.10.2016 / 12:54
1
answer

jQuery - Error in moving object horizontally

   There is movement of the carousel content on both left and right sides when the left mouse / mouse button is pressed. But? The error is that moves the object by selecting everything, the idea of moving the object is to move both sides...
asked by 07.10.2016 / 17:30