【发布时间】:2019-12-26 22:59:48
【问题描述】:
需要完成:当用户选择 CA 以外的任何内容时,在我下面的通知中打印所选状态。
<div class="row mt-3">
<div class="col-md">
<label for="resident">I am a resident of:</label>
<div class="invalid-feedback">
Select state of residence.
</div>
</div>
</div>
<div class="row mt-3">
<div class="col-md">
<div class="alert alert-danger">
This feature is not available at this time for <b>[State]</b> residents.
</div>
</div>
</div>
这是打印状态的部分:
<option value="<?= $abbr; ?>"><?= $state; ?></option>
根据下拉选择的内容,我如何能够在 [State] 部分内将其打印出来?
【问题讨论】:
标签: php html twitter-bootstrap