Questions tagged as 'ajax'

1
answer

Show data from an ajax function, in another ajax function

I have an ajax function that looks for the code of all the companies and goes in the other ajax function to look for the employees. In order for the page to not crash when doing this search I'm using the async: true attribute, but in d...
asked by 04.06.2018 / 16:13
0
answers

Google Maps API + PHP + Mysql - Best way to look for locations closer to the center of the map

Using Google Maps API, PHP, and Mysql, what is the best performance way to query the database, through the coordinates, the locations closest to the center of the map? At first I thought of Ajax. Each interaction on the map (zoom or change in...
asked by 29.05.2018 / 17:30
0
answers

Doubt Json MVC Core Razor

I created a method to perform a Insert through Ajax , like this: function SalvarHorario() { //NomeHorario var nome = $("#Nome").val(); var token = $('input[name="__RequestVerificationToken"]').val(); var tokenad...
asked by 29.05.2018 / 00:34
2
answers

How to return ajax errors with jquery in Laravel 5.6

As I read in the documentation, when using ajax, the answer is always returned in json, but I can not get the information to print. The message returned in the console is: http://localhost/projeto/cadastra/usuario 422 (Unprocessable Entity)...
asked by 05.06.2018 / 16:05
0
answers

Error accentuating information taken from mysql

I'mfillinginthecomboswithinformationtakenfromthebank,buttheystaythatway,Iaddedthegoalbutitdidnotwork.<metahttp-equiv="Content-Type" content="text/html; charset=UTF-8"/>     
asked by 08.06.2018 / 22:45
0
answers

Get only one variable value

I'm having a little problem with my sales system. The system works as follows, when I press the + button, it adds the product to the cart, until then everything is ok, however, it is taking the code of all products registered. Do any of y...
asked by 28.05.2018 / 22:17
0
answers

How to update the result of a PHP page to each insert made in the database?

I'm a beginner on the subject, but I'll try to explain what I want to do in the best way. I would like to update my WEB page, every time there is a new insert the database. Below I will post my code, I'm starting to like your help. <?php i...
asked by 26.05.2018 / 02:50
0
answers

how to send jquery / ajax with more than one data using django function based view

I would like to submit a form and a list when submitting the form, type I have a form and a list with ids areas = [1,6,5] how do I get the two to be sent in the post, I want to take this list and use in mine that is also the view that treats the...
asked by 01.06.2018 / 14:16
0
answers

Ajax Requests

I have a form and it is a field in which the user can select a professional for the desired service, and when selecting such service I have to inform the available timetables by making an ajax request using a select script in my database taking...
asked by 03.06.2018 / 18:50
1
answer

Redeem ID in return modal Ajax

I've been looking for a lot more and I have not achieved anything similar. I have a record that returns lastInsertId () and this registration is done with Ajax. No success (Ajax) after completing the registration opens a modal. I needed to pass...
asked by 03.06.2018 / 03:42