I need to make 2 requests $.ajax() nested, where the second depends on the delivered value of the first ... in other words the result of the first enters a loop and for each record found makes a new request
.
Something like this:
functi...
I want that when selecting an image of the STATE column of a table I change the image / icon depending on what you choose in the modal created in Bootstrap with two buttons / Button1 or Button2 /. If your initial state collected from the databas...
How about, I have an ADD button, which contains two fields, which are filled and the data is sent to the table in mysql and in the table below
By clicking on SAVE to send the data I get this message, but I send it to another page, as I do...
My main problem was that I was trying to get a true / false from the controller to check the existence of an item in the database, (you can see it here) . The error was resolved, then I saw that one of the users, of the questions that they sugg...
I have a problem I can not solve, I have a form which contains a section inputs checkbox that are generated dynamically, the name of this input keep it as mail_2 [] my problem is how can Pick up that array in js to send it to php where the arr...
Friends I am uploading files to my server with ajax and php, what I would like is to give a unique name to the file I am uploading, in which part of the code can I do this, someone who could help me?
$documento = $_FILES['file'];
$data = a...
Good morning.
I'm doing a script in which ajax performed a process of insertion in BD depending on what returns this function ajax I need to reload the same page or clean the form, if everything goes well continue with another function ajax i...
I am working with a form using ajax. In local using wampserver makes my records successfully. I'm doing tests on a hosting and I do not do any operation.
//codigo JS
$(function(){
$('#registrar').click(function(){
var numcontrol = $('#numco...