Concluído

Sync AJAX call

My problem; I want to make a synchronous call to AJAX, but of course without using "async = false", because this feature is deprecated.

My situation:

I have a js function, which makes a JSON call to a PHP Servlet. ($.getJSON("[login to view URL]",{...)

This Servlet contains a SQL querry to a database.

The SQL query returns an array A1.

This array A1 is returned from the Servlet via "echo json_encode($dataarray); "

The js function get A1, and returns this value.

Now I want that the value returned by the js function is the array A1. This implies that the system has somewhereto wait until the completion of the AJAX call before finishing the execution of the js function.

Habilidades: MySQL, JavaScript, AJAX, PHP

Sobre o Cliente:
( 1 comentário ) Mauborget, Switzerland

ID do Projeto: #32520955

Concedido a:

(70 Comentários)
6.4

8 freelancers estão ofertando em média $130 nesse trabalho

(240 Comentários)
6.7
shoaybs

Hi I have checked your project: " Sync AJAX call ". I analyzed your requirements in depth and I am 110% confident to get your project done with perfection. So, I request you to initiate ? video call with me now or te Mais

$250 USD in 97 dias
(20 Comentários)
6.0
gustavofulanetto

Hi, I edited your code based on a sample code to make synchronous calls without using "async: false" and I think it may work. I'd like you to contact me on the chat, so I'll send you the code for you to test. Thanks!

$40 USD em 1 dia
(71 Comentários)
4.9
tljafar

Hello, I have read your project description. I am available to start quick work on your project with low budget & assure you to provide highly performable clean code within the preferred timeline. Looking for your re Mais

$140 USD in 7 dias
(11 Comentários)
3.9
(10 Comentários)
4.1
Techn0phile

This can be done using simple global ajax handler I can do it Please contact.......................................

$140 USD in 7 dias
(2 Comentários)
1.1
drashtantdal

Greetings, I am experienced full stack developer with vast skills of development and design. I can complete your task in expected timeline. Kindly send me a message to discuss further. Your sincerely Drash

$140 USD in 7 dias
(0 Comentários)
0.0