JQuery JQueryMobile: Difference between revisions
(→API) |
(→ul tag) |
||
| Line 11: | Line 11: | ||
===ul tag=== | ===ul tag=== | ||
data-role="listview" | data-role="listview" | ||
data-filter="true" // makes the list searchable | |||
==Resources== | ==Resources== | ||
* [http://emea.nttdata.com/blog/de/2013/07/17/eine-mobile-app-mit-html5-erstellen-vieles-klappt-manches-nicht/ personal account] | * [http://emea.nttdata.com/blog/de/2013/07/17/eine-mobile-app-mit-html5-erstellen-vieles-klappt-manches-nicht/ personal account] | ||
* [http://www.w3schools.com/jquerymobile/jquerymobile_examples.asp jQuery mobile examples] | * [http://www.w3schools.com/jquerymobile/jquerymobile_examples.asp jQuery mobile examples] | ||
Revision as of 20:47, 30 May 2014
Concepts
jMobile web pages consist of different pages:
<div data-role="page" id="p1">content p1</div> <div data-role="page" id="p2">content p2</div>
API
- $() is short of jQuery()
- uses the data-role attribute
ul tag
data-role="listview" data-filter="true" // makes the list searchable