<Passing data to modal from button> I want to make...
# community-feeds
r
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 modal. I want to pass the data from button to the modal and then onclick of modal button, it will make an ajax call to the view. But I am not able to pass the values from button to the modal. Here is my code: Button part of the template:(The values {{ supervisor.supervisor.user.id }} and {{...