All Questions
Tagged with bootstrap-modal ajax
448
questions
0
votes
0
answers
50
views
Menu and submenu with 2 modal in laravel
I have a problem with menu and submenu calling with 2 different modal. I would like when choose in the first menu see the elements of the submenu in another modal. The problem is that I loss the ...
0
votes
0
answers
23
views
How to access variable to pass through url_for() as src in Flask App
I am currently working on a web app, in which users upload files, a ML algorithm is applied, and I want to add the functionality to view the images they originally uploaded in a Bootstrap Modal. I'm ...
0
votes
0
answers
25
views
Display validation errors on modal through ajax request
My jQuery script:
$.ajaxSetup({
headers: {
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
}
});
// Handle modal shown event to focus on ...
0
votes
0
answers
62
views
How to gracefully stop XMLHttpRequest on Bootstrap modal close in JavaScript?
I am currently working on a project where I use Bootstrap modals to display dynamic content fetched via XMLHttpRequest (XHR). The modal is opened successfully, and the XHR request is initiated. ...
1
vote
1
answer
130
views
Bootstrap Modal Not closing after successful Ajax Call
I am getting success in the Ajax Call but after submission, it is not hiding.
I tried .hide(); .modal('hide');
Here is
<div class="modal fade" id="addWorkModal" tabindex=&...
-2
votes
1
answer
332
views
How to open Bootstrap 5 Modal instantly and then load the AJAX content
The Bootstrap 5 Modal does not open until the AJAX Content is loaded. It's a bad UX for my users as users have to wait few seconds for the modal to open after clicking the View button!
So having said ...
1
vote
1
answer
66
views
Passing data to modal from button
I want to make a post request to my django view with query params. The query params are coming from the html template. On accept button in template, a modal opens. And there is an accept button in the ...
0
votes
0
answers
91
views
How to pop up a modal successful or error after inserted data into database?
I want to produce a pop up modal either success of error message when user inserts data into database. Below I have a form, two modal and php code for insert data from form into database. What I have ...
0
votes
1
answer
74
views
Problem with duplicate CKEditor5 when passing data into Modal
I use AJAX requests to get data from the database. When I pass each data into the input form, it's okay, but when I transfer the data to CKEditor5, I get an error: every time I close and reopen the ...
2
votes
1
answer
26
views
Send data vi ajax to dropdownlist is not completly set as selected
I send via ajax an ID to get a specific name (label) with his code, which i will show as selected value in my dropdown list in a Bootstrap Modal Form.
I get the code inside the value quotes, but not ...
0
votes
1
answer
159
views
Add data to Datatable - PHP POST session, Bootstrap Modal, MySQL and Ajax
It's been already 3 months since I figuring out how to make this work.
I have an admin account who can add devices to each user/s and I am using Datatable to display and manipulate list of devices for ...
1
vote
1
answer
94
views
Showing hidden on bootstrap modal
I want to show the contents using bootstrap modal. Email, gender and status are hidden and will be visible only if I click on the view more button. I want these to be shown using bootstrap modal.
let ...
0
votes
1
answer
313
views
Showing modal Popup on ajax success in Laravel
`here, I need to show the image details on image_upload table, while click show button
click this button id passed
<a class="btn btn-info" href="" onclick="showuserimage({{$...
0
votes
3
answers
973
views
how to use Ajax to collect data from my bootstrap modal in laravel?
So I added a boostrap modal form in my view and I integrated ajax to collect data from it and insert them in my database the thing is that the form doesn't do anything and I couldn't figure where the ...
0
votes
0
answers
29
views
Problem refreshing modal from within modal that was dynamically loaded with JQuery AJAX
Edit: So after continuing to research, I stumbled across the reason this isn't working and it has to with banding the new element to the already running JQuery listener. Problem is, Javascript and ...