JSFiddle - React, Tailwind, and code Playground
by Omar X
HTML
<html>
<head>
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.css" />
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<script src="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.js"></script>
<script>
$(document).on("pageinit", function() {
$("#foo").on("click", function() {
$.get("http://jsfiddle.net/Palestinian/RU7Jn/show", function(data) {
var list = $(data).find("#bar");
$.mobile.activePage.find(".ui-content").append(list);
$("#bar").listview();
}, "html");
});
});
</script>
</head>
<body>
<div data-role="page">
<div data-role="header">
<h1>Map</h1>
</div>
<div data-role="content"> <a href="#" id="foo" data-role="button">Load external list</a>
</div>
</div>
</body>
</html>