JSFiddle - React, Tailwind, and code Playground
HTML
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Multi-page template</title>
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.css" />
<script type="text/javascript" src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
<script type="text/javascript" src="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.js"></script>
<script type="text/javascript">
$('#launchpage').live('pagecreate',function(event) {
$("#fhome").submit( function () {
$.mobile.changePage("#mainpage");
});
});
</script>
</head>
<body>
<!-- PAGE: launchpage -->
<div data-role="page" id="launchpage">
<div data-role="header">
<h1 data-theme="g" >Personal Details</h1>
</div><!-- /header -->
<div data-role="content" >
<div class="content-primary">
<form id="fhome" method="POST" action="#mainpage" >
<!-- Primary SSN -->
<div data-role="none">
<p> Lets begin: </p>
</div>
<br/>
<!-- Other Last name -->
<div data-role="fieldcontain">
<fieldset data-role="controlgroup" data-type="horizontal" >
<legend>Are you providing information about yourself?</legend>
<label for="launchradioyes">Yes</label>
<input type="radio" name="radio-choice" id="launchradioyes" value="yes" />
<label for="launchradiono">No</label>
<input type="radio" name="radio-choice" id="launchradiono" value="no" />
</fieldset>
</div>
<input type="submit" value="Next" data-theme="a" />
<br/>
</form>
</div><!-- /content -->
<div data-role="footer" data-theme="d">
</div><!-- /footer...