dongzuan4491 2019-02-04 17:14
浏览 957

用于显示fullcalendar和刷新的两个按钮上的操作

I have this scenario

enter image description here

under a bootstrap menu two button one for show a fullcalendar and one for add an event in calendar

<div class="card-body">
  <h5 class="card-title">
      <button type="button" class="btn btn-success" data-toggle="modal" data-target="#addEvent">Aggiungi Work</button>
      <button type="button" class="btn btn-success" data-toggle="modal" data-target="#showCalendar">Mostra Calendario</button>
  </h5>
</div>

now in JS or in other newbie method i want if is possible when i click on the first button appear under the button in a div for example the insert event form like this

<div class="modal fade" id="modalEvento" tableindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="box-body">
    <div class="form-group">
        <label class="col-sm-2 control-label">nome:</label>
        <div class="col-sm-10">
            <input type="text" class="form-control" id="testoExtra">
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-2 control-label">Dettagli:</label>
        <div class="col-sm-10">
            <input type="text" class="form-control" id="dettagli">
        </div>
    </div>
</div>

and when i click on the second button compare the fullcalendar (also the default)

is it possible ? thanks a lot

i use codeigniter, bootstrap and js

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 素材场景中光线烘焙后灯光失效
    • ¥15 请教一下各位,为什么我这个没有实现模拟点击
    • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
    • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
    • ¥20 有关区间dp的问题求解
    • ¥15 多电路系统共用电源的串扰问题
    • ¥15 slam rangenet++配置
    • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
    • ¥15 ubuntu子系统密码忘记
    • ¥15 保护模式-系统加载-段寄存器