Questions tagged as 'ajax'

1
answer

Javascript x Ajax x html x jquery

Please, I need some help. I'm trying to develop an application with phonegap x jquery / strong> Ajax and I have the following situation: I'm on a page, after the user enters an email and password, I call ajax , from an external pag...
asked by 03.09.2015 / 05:16
1
answer

Create a dynamic value in checkbox using ajax

I have a ajax code link and I need the values that appear to be dynamic, eg: In the link that I put has 3 inputs and in js I created it for only 1, if I put it to all it would send normally checkbox:$($("#checkbox input")[0]).prop("ch...
asked by 19.06.2015 / 23:39
1
answer

Return value Ajax in input

I mounted a query using php + oracle to fetch the employee's name from the badge. I searched and found a script that does the query and returns on the same page using Ajax. But it returns the value only in the entire div. How do I return in a fi...
asked by 18.06.2015 / 21:38
1
answer

Popular select based on a date in json

I have a bootstrap form and validated it right, but I need it when selecting a date in the datepicker, it automatically loads a select with JSON, and has 3 more selects need to be filled after this, and all dependent one another, eg: I ch...
asked by 17.06.2015 / 07:16
1
answer

Google reCAPTCHA 2 with AJAX

I'm using reCAPTCHA with AJAX. When the page loads, the reCAPTCHA validation works normally, but when the form fails, the reCAPTCHA returns an error and the session expires . How to make reCAPTCHA work with AJAX without reload ?...
asked by 15.06.2015 / 16:32
1
answer

Modal does not work after load div

Well, my problem is, I have a function in an external file function lista_contas(id) { var url = 'lista_dados.php'; var method = 'POST'; var params = 'id='+id; params += '&select_ano='+document.getElementById('select_ano')....
asked by 02.06.2015 / 20:08
1
answer

I used setcookie on my local server and everything worked fine, but when I uploaded it to the local server it does not work

I used setcookie("votados".$_POST['votacao'], 'yes', time()+86400*300); on my local server and it worked divinely well, but uploading it does not work. Like, it was for him to check whether the user has already voted or not. Could someone...
asked by 26.06.2015 / 14:20
1
answer

How to get data returned from a post request

I have the following code: $http.post('data.php').success(function(data) { return data; }).error(function(data) { console.log(data); }); How to manipulate the data coming from this request? I'm doing it this way: var data = $s...
asked by 28.05.2015 / 03:50
2
answers

Spring MVC and Ajax

I'm developing a web app in java using the Spring MVC framework. However, a part of the project has broken out! First I'll show the print on the screen to make it easier to understand. Image: WhatIwanttodois:whentheuserselectsthecompany,th...
asked by 29.05.2015 / 15:50
1
answer

manipulate another webpage via javascript

is the following, I need to access a site and search through my page. I'm trying this way: <html> <script type="text/javascript" src="js/jquery.js"> </script> <div class="news"> <iframe src="http://alelo.com.br/con...
asked by 29.05.2015 / 16:53