Questions tagged as 'ajax'

0
answers

Enable CORS in the request header

Someone knows if you can enable CORS in the ajax request header without having to do anything on the API server, similar to what POSTMAN does. With POSTMAN you test the API and it works fine, when it goes to the CORS error front application, the...
asked by 08.04.2016 / 15:33
1
answer

Extract data in JQuery

I'm having a problem with Ajax ... I can not extract the data. They are returned, however, at the time of printing, nothing appears. The following codes: Model: function livros() { $this->db->select('idobras,titulo,idbib_exempla...
asked by 14.04.2016 / 16:12
0
answers

Multiple Ajax Requests

I just did a routine to retrieve information from Google Maps, using its API. But I needed to use CURL in PHP to make the request, why when I go directly to AJAX in JS, it accuses me of the error in Allow Origins Access Control and I never manag...
asked by 04.04.2016 / 13:50
1
answer

Table mounted through input select

Good afternoon, my problem here is that I mount a table through an array received by ajax, I have 2 problems: 1 Every time I select an item in the select the table should reset and pick up the new data, the way I did it it is not adding with...
asked by 29.03.2016 / 18:56
1
answer

Ajax get form data to compose in the url

I have an ajax call that needs to grab all form fields and post to a URL. My code looks like this: <script> $(document).ready(function() { $('#somebutton').click(function(event) { var valorAplic...
asked by 24.03.2016 / 16:38
0
answers

How to load PartialView via Javascript

I have an Asp.Net MVC project where there is a method that returns a PartialView : [HttpPost] public ActionResult MinhaAction(int param1, int param2) { // ... // Código // ... MigraDoc.DocumentObjectModel.Document doc = new...
asked by 21.03.2016 / 20:53
2
answers

Problem with AJAX JQuery

Code in index.php <!DOCTYPE html> <html lang="pt-br"> <head> <title></title> <script type="text/javascript" src="jquery-2.2.3.min.js"></script> <script> fu...
asked by 13.04.2016 / 19:17
1
answer

Change information within the same modal

Good afternoon, I'm making a page for a software manual. It turns out that there is a part of this page that is a modal that when open has a navbar with 5 buttons. My intention is that as I load on each button of the navbar, the information o...
asked by 18.04.2016 / 17:04
0
answers

AJAX is not working

Does anyone know why this AJAX is not working? The variables are receiving the values, only the part of sending the data to actualiza.php does not work. $("#btnedit").click(function(){ var proc=$("#procedit").val();...
asked by 20.04.2016 / 16:32
0
answers

problem in ajaxSucess

Hello, I'm having a hard time running a script after a call in ajax. What have I done so far? Well, I'll explain: I have a button with 2 actions, however, I need one action to occur before the other, the two are not together . > I h...
asked by 20.04.2016 / 20:53