JSFiddle - React, Tailwind, and code Playground

by cgack

HTML

<!DOCTYPE html> 
<html> 
<head> 
	<title>My Page</title> 
	<meta name="viewport" content="width=device-width, initial-scale=1"> 
	<link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.0-beta.1/jquery.mobile-1.3.0-beta.1.min.css" />
	<script src="http://code.jquery.com/jquery-1.8.3.min.js"></script>
	<script src="http://code.jquery.com/mobile/1.3.0-beta.1/jquery.mobile-1.3.0-beta.1.min.js"></script>
</head> 
<body> 

<div data-role="page">

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

	<div data-role="content">	
		<h2>Hello world</h2>		
        <ul data-role="listview">
            <li><a href="#">SOMETHING</a>
                <li style="display:none;" id="myHidden"><a href="#">something ELSE</a>
        </ul>
	</div><!-- /content -->

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

</body>
</html>

JavaScript

$(document).on("pagebeforeshow", function() {
    $("#myHidden").show();
});