I have an Asp.Net MVC project structured as follows:
Home
On the Home
page there are several links
for other Actions
and Controllers
, and they return a PartialView
that mounts all contents to modal
.
Home
So far so good, the problem is that by closing such a modal, your scripts remain "alive" in some way. Therefore, when opening a new modal that has the same elements of the previously opened modal, the modal scripts that were closed are fired in the new modal.
Home
Is there any way to permanently "kill" these scripts?
Home
Maybe by% w / w% of% w / w% w / w%.