I would like to know if it possible (and how) to stop a jQuery script on a click event.
I am loading it on a click like this
$("#id_button").click(function() {
$.getScript("script.js");
alert ("The script is activated");
});
And I'd like to stop it in the same way.