Questions tagged as 'jquery'

1
answer

Ajax response time

Personally I'm doing my first AJAX and am having a problem which is as follows. It calls a PHP routine that downloads and uploads one or more files via FTP. And this can take a while. How do I get AJAX to wait for it to finish before the answer....
asked by 24.03.2015 / 15:04
1
answer

Problem with CSS in Jquery

I have the following HTML: $(".membrosClick").click(function() { $(".membrosClick").css("width", "766px"); $(this).children().fadeToggle(); $(".listagemEsc").css("margin-left", "383px"); }); <li class="membrosClick">...
asked by 12.03.2015 / 21:37
1
answer

attribute dataType AJAX - JQuery

I know that with the dataType set to XML, it understands that the return is XML and I can navigate the returned object as if navigating through the DOM, so I set it to HTML ( dataType:"html" ), and I expected return of it was in fact a doc...
asked by 11.03.2015 / 19:46
2
answers

Datepicker does not work

I am building a system in which I have to register a stock plan, so far so good ... At the time of registration there are three inputs, What, Who and When as shown below:   TheproblemiswhenIclickonthenew"When?" field, because the datepicker d...
asked by 09.03.2015 / 19:35
1
answer

Delete item from a variable that contains a list

I have a larger program, but my problem is residing in deleting an item from a variable that contains a list in there and so I created this Fiddle just with the part of my error. I put 2 alert() to see if the function is executed or...
asked by 27.04.2015 / 15:23
1
answer

How to encrypt a POST via Ajax

How do I encrypt the posts I send via Ajax? For example in the Telegram Web they do this, it is possible to see by the XHR with the requisitions sent and received. Example of what it is like on the Telegram Web (I wish my application would lo...
asked by 26.05.2015 / 05:24
2
answers

Get value in an iframe via Javascript

I have code that is in an external file and need to load it via Javascript, however I do not know how to do it. I already tried it in several ways, and apparently it would be better with an iframe, but not that. The idea was to use the load () f...
asked by 29.03.2015 / 20:01
1
answer

Disable iCheck in a checkbox

I'm using the iCheck plugin to customize my page checkboxes. I have on a form some checkbox and I would like the iCheck to work in the checkbox which has the class with the name icheck and the others would stay the original way. Can you do this?...
asked by 16.02.2015 / 03:03
1
answer

Check number of clicks on buttons

I have a script with functions to control what each button an application does. I declare a global variable so that when all the buttons are clicked, two actions are triggered: hide one div and show another. //variável global var completo = 0...
asked by 19.02.2015 / 00:45
1
answer

Request jQuery Post + PHP + MySQL does not write data

I'm doing a registration via jQuery Ajax, so I created the following function: function salvarCadastro(titulo, form, caminho) { var dadosFormulario = $("#" + form).serialize(); var myData = $("#" + form).serialize(); jQuery.ajax({...
asked by 19.02.2015 / 19:07