我有带有提交按钮的表单。一旦用户点击提交,我想Record Successfully saved
在按钮旁边显示消息。这是我的表格示例:
<form name="frm_myaccount" id="frm_myaccount" class="frm-Submit" autocomplete="off">
<div class="form-group required">
<label class="control-label" for="answer">Answer</label>
<input type="text" class="form-control" name="frm_answer" id="frm_answer" placeholder="Enter Answer" maxlength="100" required>
</div>
<div>
<div class="col-xs-2">
<button type="submit" class="btn btn-primary">Submit</button>
</div>
<div class="col-xs-10">
<div id="myaccount-message" class="alert"></div>
</div>
</div>
</form>
上面的代码将提交按钮移到表单网格之外。我想知道表单内部是否使用任何类将元素组合在同一个网格中?