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 into custom code.
divelement within the page with some text. In this case we're going for the globally recognized "Hello World" sample text. Set the
idattribute for this element to
scripttag into the
headof your document, and reference the XUI library within your project directory.
<!DOCTYPE HTML> <html> <head> <meta name="viewport" ...