Created
July 30, 2013 06:07
-
-
Save rominirani/6110602 to your computer and use it in GitHub Desktop.
Indian Pincode App index.html fixed by addressing Firefox OS CSP violation. We moved all the code from inside of the <script> tag to an external file app.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>India Pincodes</title> | |
<link rel="stylesheet" href="jquery.mobile-1.3.1.min.css" /> | |
<script src="jquery-1.7.1.min.js"></script> | |
<script src="jquery.mobile-1.3.1.min.js"></script> | |
<script src="app.js"></script> | |
</head> | |
<body> | |
<!-- Start of first page: #home --> | |
<div data-role="page" id="home"> | |
<div data-role="header" data-position="fixed"> | |
<h3>India Pincodes</h3> | |
</div><!-- /header --> | |
<div data-role="content"> | |
<input type="search" id="searchCriteria" value="" placeholder="Enter Pincode" autofocus/> | |
<a href="#" id="btnSearch" data-role="button">Search</a> | |
<div id="linebreak"> </div> | |
<ul data-role="listview" id="searchResults"> | |
</ul> | |
</div><!-- /content --> | |
</div><!-- /page home --> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment