When creating applications that focus as heavily on user interactions as mobile apps do, we want to be able to easily update and manage the underlying HTML and data collections.
We'll make use of XUI's simple but powerful DOM traversal methods and the ability to extend the library functionality to custom code:
divelement within the page with some text. In this case, we're going to create a Hello World sample text. Set the
idattribute for this element to
scripttag in the
headtag of your document, and reference the XUI library within your project directory:
<!DOCTYPE HTML> <html> <head> <meta name="viewport" content="user-scalable=no, ...