下面是我的代码。我对backbone.js有基本的了解。我必须在模板中获取代码并查看它。
<div id="container" style="width:100%;">
<table>
<tr>
<td>
<label>T:</label>
</td>
<td>
<label>F</label>
</td>
</tr>
<tr>
<td>
<label>Fi:</label>
</td>
<td>
<input type="text" id="fi" readonly="true"/>
</td>
</tr>
<tr>
<td>
<label>Ba:</label>
</td>
<td>
<select id="ba">
<option value="4">1200</option>
<option value="5">2400</option>
<option value="6">4800</option>
<option value="7">9600</option>
<option value="8">19200</option>
</select>
</td>
</tr>
<tr>
<td>
<label>St:</label>
</td>
<td>
<input type="radio" name="st" value="0" checked="checked" > one
<input type="radio" name="st" value="1"> two
</td>
</tr>
<tr>
<td>
<label>Pa:</label>
</td>
<td>
<input type="radio" name="par" value="0"> none
<input type="radio" name="par" value="1"> even
<input type="radio" name="par" value="2" checked="checked"> odd
</td>
</tr>
<tr>
<td>
<label>Tu:</label>
</td>
<td>
<input type="text" id="tu" />msecs
</td>
</tr>
<tr>
<td>
<label>Ti:</label>
</td>
<td>
<input type="text" id="ti" />msecs
</td>
</tr>
<tr>
<td>
<label>Nu:</label>
</td>
<td>
<input type="text" id="re" />
</td>
</tr>
<tr>
<td>
<label>Mo:</label>
</td>
<td>
<input type="radio" name="mo" value="0" checked="checked"> off
<input type="radio" name="mo" value="1"> on
</td>
</tr>
<tr>
<td>
<label>Da:</label>
</td>
<td>
<select id="da">
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
</select>
</td>
</tr>
<tr>
<td>
<label>Pa:</label>
</td>
<td>
<label id="pa">C</label>
</td>
</tr>
<tr>
<td>
<label>Fie:</label>
</td>
<td>
<input type="text" id="group" />
</td>
</tr>
<tr>
<td>
<label>Fiel:</label>
</td>
<td>
<select id="prot">
<option value="0">None</option>
<option value="4">BP</option>
<option value="1">Mo</option> RTU</option>
</select>
</td>
</tr>
<tr>