<div><label for="phone">手机号</label>
<input type="text" class="form-control" id="phone" placeholder="手机号" onblur="checkPhone()">
<div id="test_phone"></div>
</div><!--/.form-group -->
<div class="form-group">
<label for="password">密码</label>
<input type="password" class="form-control" id="password" placeholder="密码" onblur="validate_password(this.value)">
<div id="test_pw"></div>