Tuesday, March 4, 2014

jQuery Mobile blank app with dummy CSS / JavaScript sections

Code below could be used as template for kick-start application.


<!DOCTYPE html>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>My Blank JS / jQuery app - demo</title>
  <script type='text/javascript' src='http://code.jquery.com/jquery-latest.js'></script>
  <link rel="stylesheet" type="text/css" href="/css/result-light.css">
      <script type='text/javascript' src="http://code.jquery.com/mobile/latest/jquery.mobile.min.js"></script>
      <link rel="stylesheet" type="text/css" href="http://code.jquery.com/mobile/latest/jquery.mobile.min.css">
  <style type='text/css'>
<script type='text/javascript'>//<![CDATA[
    $("#add").bind("click", function(event) {



  <div data-role="page" id="p1">
    <div  data-role="header"><h1>Header</h1></div>
    <div  data-role="content">
        <a href="#" id="add" data-role="button">Click Me</a>
    <div  data-role="footer"><h4>Footer</h4></div>


1 comment:

  1. What's up, just wanted to tell you, It was inspiring. Keep on posting: How To Lock Files In Less Than Nine Minutes Using These Amazing Tools