Questions tagged as 'jquery'

1
answer

Return via Ajax date in an input type date with Jquery

I have the following Ajax code: $.ajax({ type:"post", url:"../connect/post/infoTask.php", data:'info-task='+idtask, success:function(responseData){ $(".delivery-in...
asked by 29.11.2016 / 13:42
2
answers

Popular an array of objects with a string

I have a string with the following content: "Carlos Alberto xxxxxxx 11/02/2016 $103.10 Juliano Fontes xxxxxxx 12/02/2016 $102.10 Carlos ALberto xxxxxxx 13/02/2016 $500.00" I have my array with fields referring to t...
asked by 25.04.2016 / 12:16
2
answers

Error while trying to move file to a folder with PHP and JavaScript

I'm trying to move files from a folder. These files are listed, from the moment they are created, I want to move them to the end of the day for a given back-up folder. However, by calling the PHP function responsible for this, nothing does. T...
asked by 23.10.2016 / 01:39
1
answer

Shortcut key for PHP and Mysql pagination

I have a pagination made in PHP and Mysql: $sqlVisualizarContar = mysqli_query($this->conexao,"SELECT * FROM tabela;"); $maximo = 10; if($pagina >= 1){ $inicio = $pagina * $maximo; $totalPag = mysqli_num_rows($sqlVisualizarCont...
asked by 23.01.2018 / 12:15
2
answers

Help with HTML form

Sorry for the title of the post, is that I'm not thinking about something to specify what I'm wanting (feel free to edit). It is as follows: I have an html form and a button: <form id="formflor" method="post"> <input type="text"...
asked by 22.01.2018 / 22:32
2
answers

Error concatenating string in jquery

I have two values that I want to include in a string: json[key].id which is integer type json[key].descricao which is of type string I have a variable that gets these values like this (just getting the id) and works perfec...
asked by 20.01.2018 / 04:11
3
answers

how can I make a div hide on the side and when clicked appears on the screen?

How can I make the div hide on the side of the screen? notice the side menu of this site link tried it in a way but it was not someone knows a means? I put the display none and in js I put block, however I always have to go back to none then i...
asked by 19.04.2017 / 15:51
1
answer

Error returning jquery

I'm using php + jquery return is a string of type [["local","pressão instantânea"],["Campo Grande",1010.6],["Campo Grande",1011.1],["Campo Grande",1010.2]] Being that in return comes strange metadata. I've read something about CDATA. But...
asked by 12.12.2015 / 23:00
1
answer

Repeat JQuery .animate () after clicking the button

I have the following code: $(document).ready(function(){ $('#cadastre-se').click(function(){ $('.icon-cracha').stop(true, true).delay(500).animate({top: "+0"},1000); }); }); .icon-cracha{ width:100px; height: 100...
asked by 16.12.2015 / 18:16
3
answers

How do I change the text of a button when submitting a form?

With the code below, the submit form button should change text to "Loading ..." when pressed, but this does not happen. Why? <!DOCTYPE html> <html lang="pt-BR"> <head> <meta charset="UTF-8"> <meta name="v...
asked by 10.12.2015 / 18:41