Questions tagged as 'ajax'

0
answers

Send Email with Ruby

Good evening! The scenario I encounter is as follows: I have a screen that shows a form already filled out. At the bottom of the screen, there is a button to send the link from form via email. And that's where magic happens: I use AJAX via...
asked by 30.06.2018 / 02:28
0
answers

Request problem $ .ajax - Receive HTML table

I'm not able to mount the modal by getting a table using $ ajax . Anyone have any tips? I'm sending it this way: JS file: $("html").on('click', "#modalHorariosQuadra", function(){ var idQuadra = parseInt( $(this).val() ); var mod...
asked by 21.06.2018 / 21:02
1
answer

Ajax does not enter success

And I'm having a hard time in Ajax. I have the following: beforeSend: function () { $("#btnEvniar") .prop('disabled', true) .click(JaClicouProc(3,this)); }, success: function (resultado)...
asked by 20.06.2018 / 20:40
0
answers

Parameters with Ajax

Hello, I'm trying to pass parameters with information variables from two Dropdown fields, but I'm not able to use two variables when I use only one with it normally. follows an example: $(function(){ $('#alerta_cor').hide(); $('#id_cod_item')....
asked by 26.06.2018 / 03:56
0
answers

Paging dataTable JSON - Parameter passing in a function

I have a table that should be paged. It is already receiving the JSON and populating the table, but in the fifth and sixth column I need to do treatments, the content of them will depend on certain condition. function buscarConteduoBtn(p...
asked by 16.06.2018 / 01:05
1
answer

Safari sends $ _FILE as being empty (NULL) via Ajax

I have an image upload script that works normally with Chrome, EDGE, Firefox and Opera. But it does not work with Safari. The Safari browser opens the windows window for me to choose an image. When it should upload, it sends the data of the chos...
asked by 22.06.2018 / 05:43
0
answers

PHP / AJAX image upload

I need to upload a facebook-style image. The user clicks a button, selects the image and clicking OK in the Windows dialog, the image is sent automatically. Ialreadyhavethefollowingcodes: $('.trocar_foto').click(function(){ $('#img_co...
asked by 13.06.2018 / 21:19
0
answers

delete record that is foreign key in another table

I have a php project in the MVC framework. I need to confirm the deletion of records with records in another table. In Calls the user can record evolutions of this service. By excluding a precise call test if there is any evolution in it. Here i...
asked by 13.06.2018 / 15:34
1
answer

Difficulty with Ajax Jsonp

I'm trying to consume an api through Ajax, but I get an error executing it. var data2 = { resource_id: '1d7e45e5-b159-46a2-bdce-90393c7a8a2b', // the resource id limit: 5, // get 5 results q: 'jones', // query for 'jones' };...
asked by 13.06.2018 / 16:31
1
answer

Graph that feeds data from the bank

I have a system that shows a table that prints each record with a button next to it responsible for opening a modal. I would like to have a graph that compares the record data equivalent to the clicked button. The problem is that, as you c...
asked by 11.06.2018 / 13:53