Questions tagged as 'ajax'

2
answers

Result in Ajax multiplying the array values

When making a query to the database, it generates a response that is received by the success function of ajax, but when I want to put $. each , it is not that I have a problem with that, no and no, the json is parsed, everything is fine, only t...
asked by 24.07.2018 / 02:41
1
answer

Remove object records and fill tbody with Ajax JavaScript

I'm trying to get the records of the next object If I open it, show my data And I'm trying to get them out and put them in a tbody but I do not have any left. This is my code. success: function(data) { var...
asked by 25.07.2018 / 22:43
1
answer

Passing PHP Variable A Modal Window

Cordial Greeting. I hope you can help me with what I want to do. I have a PHP - HTML table Well, the fact is that, when I click on the pen, I opened a Modal window: What I want to do, is to pass 1 variable to the Modal wi...
asked by 22.11.2018 / 22:43
2
answers

How to stop the execution of setInterval () which was executed using onLoad ()?

Hello colleagues, I have had a very annoying problem and it is as follows: I have a whole page made in ajax and jquery and I have different menus; and for example when entering the first menu, inside the HTML code I have an image with a Javascri...
asked by 23.06.2018 / 05:31
1
answer

How do I pass php array to Jquery?

I have a little problem: <?php require_once '../Controlador/HuespedController.php'; $Huesped = new HuespedController; $userdoc = '44889498'; //originalmente aqui va esto $_POST['doc'], $consulta = $Huesped->BuscarDocumento($userdoc);//...
asked by 30.05.2018 / 23:37
2
answers

Capture more than one click from a button

I have the following code. This is the HTML code. <form action="" method="post"> <div class="row"> <article class="col-lg-9 col-md-9 col-sm-9 aboutBox"> <div class="form-g...
asked by 19.07.2018 / 19:16
2
answers

Activate modal window with an Enter

I hope you can help me with this problem I am new and I would like to do this ... I have an input in which I enter information I value it with some conditions and depending on whether it is true that a modal bootstrap window appears. But I want...
asked by 17.07.2018 / 23:01
1
answer

Publish REST API in heroku

I need to post a API REST in heroku . I have uploaded the project structure to the hosting with the required git commands. In addition, I created a database in heroku through phpmyadmin . The file .env of the p...
asked by 29.05.2018 / 13:18
1
answer

How to get a value from an Input and pass it to php without reloading form

Good I have a problem, I would like to try to obtain a value of an input, which is entered, to later evaluate it in php. But I do not want to reload the Form. I would like to evaluate on the same page once the data is entered. I know a bit of ja...
asked by 03.05.2018 / 16:08
2
answers

How do I add 1 in a field of a table, when I click on a link?

The 1 that I refer to is simply adding 1 to a field in a table, by clicking on a link. This is the link code: <?php if ($pagina) { ?> <div class="row"> <div class="col-md-6"> <h3><a href="<?php echo $...
asked by 06.08.2018 / 13:33