I hope you can help me with this problem I am new and I would like to do this ... I have an input in which I enter information I value it with some conditions and depending on whether it is true that a modal bootstrap window appears. But I want to activate it when I enter the input without any button ... How can I do this?
Thanks for your answers.
<input type="text" id="info" name="info">
<div class="modal" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Modal title</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<p>Modal body text goes here.</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary">Save changes</button>
</div>
</div>
</div>
</div>