Once the user clicks on a button, I aim to have a pop-up window appear. I've managed to do this successfully, but the issue arises when the same text is displayed for all button clicks.
<button type="button" class="w3-btn w3-theme-d1 w3-margin-bottom" data-toggle="modal" data-target="#moreinfo"><i class="fa fa-thumbs-up"></i> Find out more</button>
<div id="moreinfo" class="modal fade" role="dialog">
<div class="modal dialog">
<div class="modal-content">
<div class="modal-header">
fdssdsdffsgffdgdf
</div><!--end of modal header-->
<div class="modal-body">
fds
</div><!--end of modal content-->
</div><!--end of modal content-->
</div><!--end of modal dialog-->
</div><!--end of more info div-->
The code above showcases my design, with identical styles applied to each popup window. However, my goal is to personalize the text within each one. Assistance would be greatly appreciated!