Docs Getting Started

jQuery Mobile

Built for BlackBerry

Getting Started

<!DOCTYPE html>
<html>
<head>
    <title>My Page</title>
    <link rel="stylesheet" href="BlackBerry-JQM-all.min.css" />
    <script src="BlackBerry-JQM-all.min.js"></script>
</head>
<body>

<div data-role="page">

    <div data-role="header">
        <h1>My Title</h1>
    </div><!-- /header -->

    <div data-role="content">
        <p>Hello world</p>
    </div><!-- /content -->

</div><!-- /page -->

</body>
</html>
                

You will notice that this example does not include jQuery.js, jQueryMobile.css or jQueryMobile.js, this is because all of the files need are combined into BlackBerry-JQM-all.min.css and BlackBerry-JQM-all.min.js, this is done to reduce download overhead on the device and improve overall performance. If you prefer to include each file separately please check out the getting started documentation.