You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I m trying to add a modal content via url using bootstrap 5 no jquery.
I have achieved in previous version of bootstrap using jquery with the below code.
`$('#mySmallModal').on('show.bs.modal', function (e) {
var link = $(e.relatedTarget);
var modal = $(this);
modal.find('.modal-content').load(link.attr("href"));
});`
The text was updated successfully, but these errors were encountered:
I m trying to add a modal content via url using bootstrap 5 no jquery.
I have achieved in previous version of bootstrap using jquery with the below code.
`$('#mySmallModal').on('show.bs.modal', function (e) {
var link = $(e.relatedTarget);
var modal = $(this);
modal.find('.modal-content').load(link.attr("href"));
});`
The text was updated successfully, but these errors were encountered: