-2
我需要一些簡單快捷的幫助,HTML - 表單輸入
這裏是我的形式,我想編輯:
<div class="form_radio">
<div class="form-group">
<label>Gender</label>
<br />
<form name="gender-male-female">
<input type="radio" name="gender" value="m" id="m">Male
<input type="radio" name="gender" value="f" id="f">Female
</div>
</div>
這裏有一個工作示例:
<div class="form_password">
<div class="form-group">
<label>Create a password</label>
<label class="sr-only" for="Password">Create a password</label>
<input type="password" class="form-control" id="password" onfocus="emptyElement('status')" maxlength="16">
</div>
</div>
我希望把:
id =「gender」onfocus =「emptyElement('status')」
到無線電組,但我不知道如何