Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

problems with ajax on android

Posted on 2013-10-30
1
Medium Priority
?
378 Views
Last Modified: 2013-11-11
I am having some problems with my site not working properly on my android.
I narrowed it down and it seems that it is not posting the jquery ajax post requests.
A. is that true, that ajax doesn't work on the android?
B. Is there a way to detect if the ajax isn't working or it is?
C. Is there a simple work around of type of ajax script that works on all cells?
0
Comment
Question by:rivkamak
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 44

Accepted Solution

by:
Chris Stanyon earned 2000 total points
ID: 39613068
A. Ajax should work fine on Android - it's specific to the browser and AJAX is just a method of making a request for data using Javascript

B. Make sure your scripts are coded in such a way that they handle errors properly. When making an AJAX request in jQuery, you have the success(), fail() and done() methods to respond to various outcomes. You also need to make sure that the server-side script you're requesting data from is coded properly - again generating errors where necessary.

C. Using jQuery for AJAX request is about as easy as it gets. The jQuery library takes all the hassle out of making sure your scripts work across all browsers.

Whenever you write code (of any kind) you really need to do dome solid testing. Rather than using the code as you intended, your aim is to actually try and break it. If you can't, and it responds appropriately to various errors, then you're on the right track.

You may want to post some code here that hilights the problem and we can give you some advice on best-practice. We'd need to see the server-side code, the client-side jQuery and any HTML that the jQuery interacts with.
0

Featured Post

Simplify Your Workload with One Tool

How do you combat today’s intelligent hacker while managing multiple domains and platforms? By simplifying your workload with one tool. With Lunarpages hosting through Plesk Onyx, you can:

Automate SSL generation and installation with two clicks
Experience total server control

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
A while back, I ran into a situation where I was trying to use the calculated columns feature in SharePoint 2013 to do some simple math using values in two lists. Between certain data types not being accessible, and also with trying to make a one to…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
Suggested Courses

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question