Questions tagged as 'ajax'

0
answers

Script php and ajax does not run on my machine

I am doing a registration system and for this I am using php and ajax, I made the two pages correctly I believe, when I execute the script the validations that I put in php execute perfectly and it returns success, however when I check the datab...
asked by 13.06.2018 / 20:58
0
answers

Help to get input ajax with laravel

I need to get the input city of the form below, I use it in laravel $ input ['city'] but it does not get it. Now uf $ input ['uf'] takes the code below. <select name="uf" id="uf" class="form-control"> <option value="">-- Escolha o...
asked by 22.04.2018 / 03:06
1
answer

how do I insert all the rows returned in the database via serialize in ajax

I am making a home page.php that brings information from me a second page function.php via ajax until all normal but in this return a table with the information of the bank and a button to register, in this button I call the function register wh...
asked by 15.04.2018 / 22:26
0
answers

Error in ajax request on the Node

I have a view that contains a form for login. The request is sent via ajax, but the data is not being fetched and the req.body in the backend is empty. Even though I'm creating a string and passing to the node, the req.body is still empty. Fo...
asked by 10.04.2018 / 22:55
0
answers

How to change the value of a php variable using JavaScript or Ajax?

Contextualization When you register a project by default the Documentation Status is pending as a result of this configuration the project tabs are not visible. IfyouchangetheDocumentationStatustoAuthorizedorCompliantandthenpresstheAuth...
asked by 10.04.2018 / 22:32
1
answer

Return Json with special characters [duplicate]

I am doing a query in the database (Php, Mysql and Ajax), the return of this query is a Json, however all the accents are coming with special characters, I put a log to see the result. Below is the code that fills my array. $sql = mysqli_que...
asked by 26.03.2018 / 22:11
1
answer

How to create a jquery object and insert into mongodb via ajax?

I have the following structure in html : <form id="titulo"> <input type="text" name="nome"> </form> <form id="turno1"> <div class="linha"> <input type="text" name="dia"> <input type="text" nam...
asked by 29.03.2018 / 20:38
1
answer

MongoDB ObjectId returning [object Object] in Ajax

In a query I make in MongoDB using Ajax and PHP, when I'm going to manipulate ObjectId already in javascript, it returns me as [Object Object]. How do I use it as a string? Follow the $ code .ajax () $.ajax({ url: 'funcoes/registroevent...
asked by 23.03.2018 / 03:20
1
answer

JSON Zip Code Problem with States and Cities Select

Good afternoon, I have a problem with my select states and cities. When I type a ZIP it fills in the fields automatically, I can already fill up to the State even though it is a select and better yet not needing to abbreviate the > St...
asked by 17.03.2018 / 18:22
1
answer

Display success message after registration is completed via AJAX

I want to display a message as "loading" while processing the registration and another with "Registration complete", this is my AJAX code $.ajax({ type: "POST", url: "http://localhost:5001/v1/enterprise", contentType: "application/...
asked by 12.04.2018 / 15:59