mercredi 17 octobre 2018

How to get rid of js inside jquery loaded element

I'm creating a single page application with JQuery load() method. the situation is, every php file I load with jquery has a js inside it,

The problem is the the js inside every php app keeps using even though it was overridden when i load another file inside the same element. and it gives me some conflict with every file i loaded since the js are used interchangeably.

is there a way to clean a jquery inside the element which I had overridden?




Aucun commentaire:

Enregistrer un commentaire