Using AJAX

This topic is part of our Mobile Application Development with HTML5 training

AJAX is a powerful technology. It allows client-side applications to send requests to servers and, when the data comes back (most probably in XML or JSON format), the application can manipulate the DOM and, hence, change the layout and content of the webpage being shown.

AJAX programming can be problematic because of the asynchronous behaviour. Callbacks need to be properly designed to prevent surprises.

The work to do is:

  • Make AJAX queries to Last.fm to get the most popular songs of the three existing French artists
  • Make AJAX queries to Last.fm to get the three most popular artists in France (as well as their songs)
This topic is part of our Mobile Application Development with HTML5 training

Comments

  1. avinash says:

    Hi Abdul,

    I’m not sure I get you. What are you trying to achieve? Can you be more explicit? Thanks.

  2. Hello,I am using this plugin in my rcnuert development and it has been very helpful developing a mobile app. It is really fantastic.I am having trouble catching the selected item of a list in the server side. Here is the code:JSP code:The method of the action is executed but I wonder how should I catch the selected item of the list in my java action class. Could someone please help me?

Speak Your Mind

*