I'm doing some testing for my company re jQuery versions (we have a lot of old code which does weird things with new versions). I want to set up a way to dynamically choose a jQuery version while on the page, without reloading the whole page.
For example:
- page loads with version 6.2.0 by default
- there's a feature on the page that happens after a click event
- I want to switch to different versions before this click in order to try out each one
- if I want to try it with version 11.1.0, I select that from a dropdown and some magic happens that unloads 6.2.0 and loads 11.1.0
Is this magic possible?