IE操作用テストページ【HTML】
IE操作用テストページのHTML
<script type="text/javascript">
function inf(frm){
var nam = frm.h_name.value;
var pas = frm.birthday.value;
var sex = frm.sex.value;
alert("ハンドルネーム:" + nam + "\n" + "パスワード:" + pas + "\n" + "性別:" + sex);
};
</script>
<form id="frm" onsubmit="return inf()">
<table border="1px" id="main_table">
<tbody>
<tr>
<th>ハンドルネーム</th>
<td><input id="h_name" type="text" /></td>
</tr>
<tr>
<th>生年月日</th>
<td><input id="birthday" type="password" /></td>
</tr>
<tr>
<th>性別</th>
<td><input name="sex" type="radio" value="男性" /> 男性
<input name="sex" type="radio" value="女性" /> 女性</td>
</tr>
<tr>
<th>使用したことのあるOS</th>
<td><input name="os" type="checkbox" value="Windows" /> Windows
<input name="os" type="checkbox" value="Mac" /> Mac OSX
<input name="os" type="checkbox" value="Linux" /> Linux</td>
</tr>
<tr>
<th>Excelのバージョン</th>
<td><select id="version">
<option value="2016">Excel2016</option>
<option value="2013">Excel2013</option>
<option value="2010">Excel2010</option>
<option value="2007">Excel2007</option>
</select></td>
</tr>
<tr>
<th>メモ欄</th>
<td><textarea cols="40" id="note" rows="3"></textarea></td>
</tr>
</tbody>
</table>
<br />
<input id="date" onclick="inf(frm)" type="submit" value=" 送信 " />
</form>
<br />
<table border="1px" id="list">
<tbody>
<tr>
<th>種類</th>
<th>原価</th>
<th>販売額</th>
</tr>
<tr>
<th>軽油</th>
<th align="right">80円</th>
<th align="right">100円</th>
</tr>
<tr>
<th>レギュラー</th>
<th align="right">100円</th>
<th align="right">120円</th>
</tr>
<tr>
<th>ハイオク</th>
<th align="right">120円</th>
<th align="right">140円</th>
</tr>
</tbody>
</table>