Dynamically Adding Mobile Controls

Some extra steps are necessary when dynamically loading jQuery mobile elements. In particular, after you're finished creating your jquery mobile elements in a postback, you'll want to wire the following javascript to the page:

wf:defer("$('#pagediv').trigger('create')")

New elements will go below:
Back to Demos

View Module Source

© 2014 - Nitrogen Web Framework