Questions tagged as 'jquery'

1
answer

___ ___ Do erkimt the cumulative value in the loop ______ qstntxt ___
%pre%

I need to get the next value adding the former to have a build-up.

    
______ ___ azszpr325514
%pre%

To add integers use the parseInt function. Full Example:

%pre%     
___

var previsto = []; for(var i = 0; i < $(".previsto").length ; i++) { previsto[i] = $(".previsto").eq(i).text(); } I need to get the next value adding the former to have a build-up.     
asked by 28.08.2018 / 16:02
1
answer

Video does not appear in the background

I have a website where each access it shows a different video. The code looks like this: <script> $('document').ready( function(){ var video = Math.round(Math.random()*7); var videoaleatorio = [ 'fundo.mp4'...
asked by 25.07.2018 / 12:50
1
answer

Assigning value to a specific input

Good morning person, I'm having trouble making a code. I have several Inputs that are dynamically created. I need to get the ID of the specific element to change its value. EX: I have the following fields: Days, Absences, Vacancy, Licen...
asked by 10.07.2018 / 14:10
1
answer

How to Generate Jquery Load Bar

I need to show to my user during an Ajax request the status of the same divided into 6 steps Ex. 1° : Gerando arquiv 2° : Arquivo Gerado 3°: Conectando FTP 4º: Conexão realizada 5º: Enviando arquivo 6º : Arquivo enviado     
asked by 16.07.2018 / 15:51
1
answer

Button back to the top is not overlapping the footer

I'm having the following problem, I created a button back to the top, placed it in the lower right corner and gave it a position:fixed in it. I'm making use of the jQuery library. The problem occurred when the scroll bar reached the end,...
asked by 21.07.2018 / 18:53
1
answer

Return array ASP 3 and popular select with each JQUERY

I need a popular select (Html). I believe that step would be this, but how to do it? Does anyone have a link that can direct me? Click on select (maybe OnChange) Put Query (Query) data into ASP in this Array Return this Array to JQUERY a...
asked by 20.07.2018 / 16:57
1
answer

Show div after jquery validation

I have a function that does the validation of the empty fields, when completing all fields and clicking on the button I need to show the hidden div, how can I implement this function to validate and show the div if all are filled? p> $("#pr...
asked by 21.06.2018 / 16:52
1
answer

Encapsulation of random amounts - is it possible?

I'm trying to get php to send a response to the informational javaScript file, in which javaScript places a request for php in ajax, and php sends amount of information in random amount, php pulls from the database all records and will answer th...
asked by 25.06.2018 / 16:37
2
answers

Compare two objects in JS / JQuery

In my application, you have several categories of an item, In each category is created blocks related to that category, so far so good, but every time I click to change the category and return to the category I was, the blocks are replicat...
asked by 25.06.2018 / 18:43
1
answer

Problem showing / hiding divs when uploading site

Hello, I'm using JQuery to show / hide the divs. When I open the local page the divs work normally (open and hide), but when uploading the page to the web (hosting), the divs no longer work. I already looked at the preview and is not showing any...
asked by 26.06.2018 / 15:37