All Questions
20 questions
3
votes
1
answer
94
views
Ajax function with a callback
I have Ajax function with a callback which fetches all the Patient data however I have some perfomance issues and trying to figure out what it might be, does anyone have idea? That's my Code
...
2
votes
0
answers
113
views
multiple AJAX requests and multiple SetTimeout animations
I wrote a piece of code that included multiple AJAX requests and multiple SetTimeout animations.
I want the code to perform better, especially the SetTimeout sections.
which part of the code should ...
2
votes
1
answer
551
views
Paginated AngularJS posts application
I have made a small application that displays a posts JSON in the form of cards, with the help of AngularJS and Twitter Bootstrap 4.
The application has an interface for pagination and there are ...
3
votes
1
answer
92
views
Fast prototype code to hook up a webcam to the Azure Emotion API
Last week I had a 5 hours school project deadline based on the Azure Emotion API. Right now I am trying to rewrite the same code in a more clean/elegant way. I am quite new to coding so I will need ...
1
vote
1
answer
143
views
Displaying weather data from an Arduino
Please review my code, for performance and readability.
3 issues I am facing are
Uncaught Exception : out of memory (in firefox)
randomly Failed to load resource: The request timed out.
Even if the ...
2
votes
1
answer
64
views
A first AJAX search page
This is the first AJAX website I constructed. I am trying to have information generated according to the name that user types in.
It works well but I have some problem with the slow performance.
Is ...
2
votes
1
answer
179
views
My AJAX LiveDate Object
The LiveDate object displays the live current date and has a sendAjaxRequest() function dependency to send the AJAX requests.
I'...
4
votes
1
answer
544
views
Creating chat box with comet
I'm writing a chat application. I would like to know if there are problems in this code.
This function sends message:
...
3
votes
1
answer
1k
views
Loading and displaying JSON quickly in PhoneGap app
I have this tap event in an iOS app that I'm developing with PhoneGap. When I click on the left arrow, it finds the desired content and retrieves it from a JSON file. It then displays those results on ...
4
votes
1
answer
1k
views
Calling PHP file using Ajax
I like to know if there will be any performance issue if an xmlhttp object is created every time. For example, in the below code:
...
4
votes
1
answer
480
views
Ajax for RESTful web service
I wrote an Ajax function, which should be used in a framework to interact with a webserver.
The (self-written) Java-Webserver can be used to fetch files and folder-contents, create files and folders, ...
4
votes
1
answer
432
views
Script for dynamically-loading data onto a restaurant menu for printing
I have a script which dynamically loads data onto a restaurant menu for printing. Could the following code could be shortened at all?
...
1
vote
1
answer
138
views
Polling AJAX client for P2P file sharing website
I have this function:
...
2
votes
0
answers
34
views
Downloading and parsing list of Getcachine CWGs
I'm building a page that downloads a list of Geocaching CWGs for my country in XML, and then parse it. The structure of the XML looks like this:
...
4
votes
1
answer
159
views
Improve AJAX response handling function
This code handles a response from an RSS feed. It organizes and appends to content. If there's a video embeded then separate it from the rest of the content. I would like a review mainly on ...