如以下场景,我要根据用户选择的关系自动填充性别
<table cellspacing="1" cellpadding="0" align="center" class="tab" BORDER=0 width="70%" style="border-collapse:separate;border-spacing:1;" id="familyTab">
<caption>
家庭成员及主要社会关系
</caption>
<tr>
<th width="15%" style="text-align:center;">关系</th>
<th width="5%" style="text-align:center;">性别</th>
</tr>
<tr>
<td align="center">
<select name="Relationship" onchange="updateSex(1)">
<option value="无" >无</option>
<option value="父亲" >父亲</option>
<option value="母亲" >母亲</option>
</select>
<!--<input type="hidden" name="Relationship" class="learnvalue&