Questions tagged as 'ajax'

0
answers

php does not correctly return to ajax on host but if it does to xampp

I have created a form to send messages to Telegram through a bot. I use ajax to send all the data of my form to my php code and that in this the link of the sending of the message is generated. In my ajax I have a success and error, and here the...
asked by 08.11.2017 / 06:24
0
answers

Help server request from ajax

I need to make a query to the server if there is a new value in a table or not and if there is a notification that there is a new value I was looking and the best option would be with ajax but I am not very clear as do it This is the .php tha...
asked by 09.11.2017 / 21:31
0
answers

Load select element values with ajax

I have no idea how to load a select after creating it dynamically within a table with AJAX. This is the AJAX call: function LoadMarcas(id) { $("#MarcasResult tbody tr").remove(); $.get(_urlBase + "Ofertas/GetMarcasUser?id=" +...
asked by 08.11.2017 / 00:33
1
answer

am I trying to send the id of a tag to ajax but when I pick it up in php it returns to me as null which should be the correct way?

<script type="text/javascript"> $(document).ready(function(){ $(".vista_rapida").click(function() { var vista_rapidas=$(this).attr("id"); $.ajax({ url:'aindex.php', method:'post', data:{"...
asked by 06.11.2017 / 21:26
0
answers

How to make comment box?

Hello everyone, my question is how can I make a comment box like the one we have in this forum, with all those options that are handled with PHP, is it possible? Thank you for your answers     
asked by 03.11.2017 / 17:25
1
answer

does not the alert of the following variables show me only shows the first selected data?

<html> <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> </head> <body> <?php $user="localhost"; $username="root"; $pass=""; $db="surti_office"; $conexion=m...
asked by 31.10.2017 / 16:24
1
answer

Do not stop AJAX requests when reloading page

I have a csv file that has enough records (40,000), I read it with js and I convert it to an array where I fragment it to make different ajax calls. my doubt is on the one hand concepts. It turns out that being a lot of records ajax calls take a...
asked by 21.11.2017 / 06:26
0
answers

PHP MVC Submit button does not work

I have a problem, I have a very large table so I decided to use AJAX to be used as a filter, that is, the table will only show filtered data <script type="text/javascript"> $(document).ready(function(){ $('#search_apat, #sear...
asked by 26.10.2017 / 17:31
0
answers

php + jquery + ajax

I have my next ajax script file I try to pass the data to a php file but it does not return the result <script> var mensaje = $("#error"); mensaje.hide(); var formData = $("#formlge").seria...
asked by 28.10.2017 / 00:40
2
answers

It tells me that the value I'm calling is undefined in json

It tells me that it's undefined the name of the variable that I'm asking Jquery, but I put console.log (data) and it returns the complete array and with its variables $(function () { array_producto = []; $.ajax({ url: "ofertas_guarda...
asked by 28.10.2017 / 02:45