Jquery-Mobile 日付ボックスは初めてです。ID を使用して日付フィールドからテキストを取得し、そのテキストをテーブルに設定したいと考えています。しかし、私はそれを取得していません。お願いします、誰か助けてくれませんか?
code
<div data-role="page" id="Goal_Weight_Screen">
<div data-role="header" data-theme="b" >
<h1>Goal Count</h1>
</div>
<div data-role="content">
<div data-role="fieldcontain">
<label for="mydate">Choose Start Date</label>
<input name="mydate" id="mydate" type="date" data-role="datebox"
data-options='{"mode": "datebox","disableManualInput": true}'>
</div>
<a href="#Calorie_Tracker" data-role="button">Submit</a>
</div>
</div>
<div data-role="page" id="Calorie_Tracker">
<div data-role="header" data-theme="b" >
<h1>Calorie</h1>
</div>
<div data-role="content" id="table">
<table id="calorie_table" border="1">
<tr>
<th>Date</th>
<th>Food</th>
</tr>
<tr>
<td id="date1">'+$('#mydate').val()+'</td>
<td id="FI_1"></td>
</tr>
</table>
</div>
</div>