JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.css">
<link rel="stylesheet" href="http://dev.jtsage.com/cdn/datebox/latest/jqm-datebox.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 src="http://dev.jtsage.com/cdn/datebox/latest/jqm-datebox.core.min.js"></script>
<script src="http://dev.jtsage.com/cdn/datebox/latest/jqm-datebox.mode.calbox.min.js"></script>
<script src="http://dev.jtsage.com/cdn/datebox/i18n/jquery.mobile.datebox.i18n.da.utf8.js"></script>
<div data-role="page" id="page">
 
    	<script>
			
			$(document).on("pageinit", "#page", function() {
				$('#date_button').on('vclick', function() {
					$('#datepicker').datebox('open');
					$('#datepicker').datebox('setTheDate', new Date());
				});
				
				
				$('#datepicker').on('change', function(e,p) {
					
					var date = $(this).val();
					var location = "index.php?date=" + date;
					alert(date);
					window.location.href(location);
				});
			});
		</script>
        	
		<div data-role="header" data-position="fixed">
        	<h1>SmartPlan</h1>
        </div><!-- /header -->
        
        <div data-role="content">
        </div><!-- /content -->
        
        <div data-role="footer" style="height:45px;" data-position="fixed">
            	<a href="#" data-inline="true" data-role="button" data-theme="b" id="date_button">
                Date
               	</a>
                
                <div style="display:none;">
                        <input name="datepicker" id="datepicker" type="date" data-role="datebox" data-options='{"mode": "calbox", "calShowWeek": true, "overrideCalStartDay": 1, "useTodayButton": true, "dialogForce": true, "overrideDateFormat": "%Y-%m-%d"}'>
                </div>
        </div><!-- /footer -->

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