Select to view content in your preferred language

How to use bootstrap modal in arcgic javascript 4.28

332
0
02-22-2024 06:03 PM
AbramhumHsu
Emerging Contributor

Hi:
I meet a problem about using bootstrap in arcgis javascript.
the code is as following:

<div class="modal inmodal fade" id="popup_modal" aria-hidden="true" style="z-index: 9999;">
<div class="modal-dialog">
<div class="modal-content animated ">
<div class="modal-header">
<h4 class="modal-title">Graphic features</h4>
</div>
<div class="modal-body" style="height:350px;overflow-y:scroll">
<div class="row" id="featuresTable">

</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-white" data-dismiss="modal">CLOSE</button>
</div>
</div>
</div>
</div>

And after using $("#popup_modal").modal("show"), I got the error message which show there is no such 

a function modal. So, the problem is how to using bootstrap modal in arcgic javascript environment, any instructions is appreciated, thanks a lot

0 Kudos
0 Replies