sutongxuevip
YafengLiang
2017-11-15 02:34

div取值问题,点击删除会弹出模态框,根据磁盘告警参数id删除该条信息

  • html5
  • js
<c:forEach items="${hardVo_list}" var="hard">
        <div class="list-group" role="group" aria-label="磁盘配置">
              <div class="input-group">
                      <button id="HardInfo" hidden="hidden" ></button>
                       <span class="input-group-addon">磁盘告警参数:</span>
                                                        <input type="button" class="form-control" id="harddisk_id" name="harddisk_id"  value="${hard.hardDiskId}" >
                         <span class="input-group-addon">磁盘名:</span>
                                                            <input type="text" class="form-control" id="harddisk_name" name="harddisk_name" value="${hard.hardDiskName}">
                          <span class="input-group-addon">磁盘检测值(GB):</span>
                                 <input type="text" class="form-control" id="minsize" name="minsize" value="${hard.minSize}">
                            <span class="input-group-addon btn btn-danger " id="btn"   data-toggle="modal" data-target="#deleteHard">删除</span>
                     </div>
         </div>
</c:forEach>

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

2条回答