Pages

Subscribe:

Ads 468x60px

Saturday, March 10, 2012

How to Update a List View in Jquery Mobile using Jquery

In this web programming Tutorial we will learn that how we can update a list view in jquery mobbile using jquery. A list view is probably the most complex element that jQuery Mobile produces, and is also one of the most common that you’ll use in your application. jQuery Mobile list views are created using the listview widget. Like other jQuery widgets, the listview widget can expose methods for you to call after initialization. As of this writing, the listview widget exposes the refresh method, which you can use to update a list view. This is most useful when you have to add or remove items from a previously initialized list view. Updating a list view with new items

This demonstrates one of the benefits of the jQuery widget pattern: it attaches methods to DOM elements that you can call after initialization.

No comments:

Post a Comment