Questions tagged as 'ajax'

0
answers

PhantomJs wait for ajax Request

I'm here with an immense difficulty in PhantomJS; Come on since yesterday I'm trying to automate the denatran process inside a system. How will this work? I already have the user's CPF and RENAVAN, I have a script done with an API that solves th...
asked by 20.06.2016 / 21:28
1
answer

How to send data from the database to the view using ajax with codeigniter 3

Hello! I have a doubt. I'm developing a system for a furniture store. I want to make the owner edit the furniture that he has registered on the system. I can retrieve the data, but I can not put it in the fields of a modal window. Theeditwin...
asked by 02.01.2017 / 22:54
1
answer

javascript result for method in parameterized controller

I'm trying to send the result of a WebAPI that is consumed via javascript on the page to a method in the controller that will do a persistence with that data this is javascript $('#CodigoCep').blur(function() { var cep = $('#...
asked by 26.05.2016 / 04:50
1
answer

Receive post from one view to another view

I have two Views. Index Assincrona When accessing index , it calls View Assincrona and gets a gif loading until the whole page ( Assincrona ) is loaded and shows in View . Controller Codes publ...
asked by 12.05.2016 / 18:12
0
answers

Update a Repeater after inserting a new row in the Table?

Good morning, guys! I have a table that is populated with a Repeater. This table has a filter, which is programmed all via javascript from a ready layout. After adding a new value in the table and using its filter, only the initial values app...
asked by 17.05.2016 / 15:04
1
answer

Data loss in session

I'm doing a form with steps in Ajax. The idea is at every step to get the form data, play an array, and store the array in the session, so I can manipulate all the data in the last step: Ajax form1: $('.next').click(function(){ $.post(...
asked by 18.05.2016 / 18:18
6
answers

Sum of 2 inputs and appear in real time - Javascript

My question is this: I have two type text inputs. One person would put a number in input 1 and another number in input 2. When the person just finished filling in, the result of the sum of the two inputs would appear automatically in real tim...
asked by 18.09.2015 / 19:15
0
answers

Error, status 200 load Ajax

I have a call ajax that falls in callback error and brings me a status 200 and statusText load . Follow the ajax: $.ajax({ type: "GET", crossDomain: "true", dataType: "jsonp",...
asked by 01.04.2016 / 20:10
2
answers

Improve the code to just get the value of the localstorage [closed]

I have the following code: jQuery.ajax({ type: "POST", data: $(accent_color).serialize(), success: function(data) { console.log(data); } }); How do I get this code to take the value below: var accent_color = localStorage.getIte...
asked by 06.04.2016 / 18:26
0
answers

Ajax returning HTML along with JSON

The code I did was working normally but suddenly, it behaved differently. I've made all possible debugs, take a look $( function(){ // When submit it $('.frms').not('#form-newsletter').on('submit', function(){ e.preventDefault(...
asked by 29.01.2016 / 15:21