Questions tagged [sjax]
7 questions
15
votes
3 answers
Blocking "wait" function in javascript?
As part of a Javascript project I'm working on, there are some synchronous ajax calls (I guess that makes it "sjax", but I digress). I'm now writing a debugging panel which would allow me to test out the site with some artificially simulated network…

nickf
- 537,072
- 198
- 649
- 721
2
votes
1 answer
Javascript doing action only when closing window, not when reloading
My problem is that, I want to perform a synchronous ajax request only when the user closes the window, not when reloading. I have a live auction manager interface, and the user should close the window only after logging out or ended the auction,…

Krisztián Dudás
- 856
- 10
- 22
1
vote
0 answers
Rewriting JS app from Synchronous calls to Asynchronous
I am trying to migrate an old Javascript application to use AsyncJAX (AJAX) instead of Synchronous calls to AJAX(SJAX). I have considered few approaches, each taking quite some time
1) using async/await
in order to get this work i would have to…

BennyHilarious
- 373
- 3
- 15
0
votes
1 answer
ajax synchronous call problem
I have an Ajax function which looks like :
function getData(p) {
loadingImage();
p = p.replace("frame_", "");
if (window.XMLHttpRequest) {
AJAX=new XMLHttpRequest();
} else { …

John
- 7,500
- 16
- 62
- 95
0
votes
1 answer
Javascript Auto-fresh XMLHttpRequest problem
I'm writing a desktop gadget which should refresh every 10 minutes or so (It's ten seconds here). What I've determined is that every time I execute the setTimeout, the XML doesn't load again.
I don't know what kind of problem this is. I made sure…

Eric
- 49
- 4
0
votes
1 answer
From SJAX to AJAX
I am looking to convert a part of my script in AJAX for it not to freeze the page as Synchronous JAX does. What I want to achieve is to verify if a password is ok before sending it to the server. If it's not, the password field will shake and…

Bouzmine
- 21
- 1
- 5
0
votes
4 answers
Ajax cant load php json
The Problem is, the json file is not showing. Im using Xampp as local Server.
php file:
$array = array(
array(
"title" => "Erster Eintrag",
"description" => "Description",
"link" => "http://",
"pubDate" => "02.07.2015"
),
…

Mago99
- 53
- 2
- 10