Questions tagged as 'jquery'

1
answer

store values and display them in another field

People have developed this site and in the indemnity part has a fade.js where when the user clicks on one of the buttons leads it to next step Whendoingthiswillappearasmallformthathewillhavetoenterthisinformationandwhenclickingnexthewillgett...
asked by 11.07.2017 / 20:05
1
answer

Using active menu as input "radio"

I'm using a horizontal boostrap menu, its structure is basically like this: <ul class="nav nav-pills"> ... <li data-type="news" id="5" role="presentation"><a href="#">Link</a></li> <li data-type"sports" i...
asked by 12.07.2017 / 19:36
1
answer

Pass PHP variable to another page using Ajax, and update value of an element

I have the following code gerar-relatorio-extrato.php : try { $pdo = abrirConexao(); // Selecionar extrato $consultaExtrato = $pdo->prepare($sql); $consultaExtrato->execute($insertData);...
asked by 23.06.2017 / 23:09
1
answer

Individualizing page exchange time

In this script below it makes a page alternation, it already works perfectly for me, more precise that each page have different times of each other, example: page1.php is showing for 20 seconds page2.php is displayed for 30 seconds...
asked by 19.06.2017 / 17:05
1
answer

Calculate the sum of 02 fields automatically

I have the following fields: TheNumberofStudentscomesfromthedatabaseandIamstoringitinahiddenfield:<inputtype="hidden" name="NumAlunos" id="numAlunos" value="<?php echo $visualizar->NumAlunos; ?>" class="form-control"> How w...
asked by 01.07.2017 / 15:16
3
answers

json php error, but json is correct

My php script returns a json, but when js is going to read json it says error. Butcopyingandpastingthesamejsonintoavalidator(ex: link ) says it's correct. For those who can help me, I appreciate it. Edit: follows json {"ArrayTopFiveIten...
asked by 31.05.2017 / 21:36
3
answers

Receive Jquery and PHP response from second to second

Galera, I have a page in PHP that does a query in the database at the end of the processing and I show the amount of updated records. This process takes a while, in my Jquery I just show the total of affected records, how could I change my Jq...
asked by 31.05.2017 / 16:21
1
answer

Error traversing table html with jquery

I have a HTML table and I need to get the values of value='1' data-chkIdProcessamentoDiario='1' data-chkIdRegistro='1' and assign in an array, but the problem is that each does not go through table html , although the browser l...
asked by 31.05.2017 / 22:24
2
answers

How to get another div with the same name without changing the others?

Well it's as follows. I have the following code structure: A div called part-sec that brings the entire contents of the product. The price-product div comes with the price. So far so good. But below I have another div with the sizes and when...
asked by 13.07.2017 / 17:11
1
answer

How to return to the "normal" state of Html after a Javascript query without refresh?

Alright? I have a very annoying question here and I could not find any viable solution. Well, I'll explain the problem. This is my class where I will return my query <div class="col-lg-2 result"> ... AQUI DENTRO ESTARÁ A CONSUL...
asked by 06.06.2017 / 20:53