I want to load an external JS file on a page after wherever jQuery is loaded.
The solution below doesn't seem to work that way as I don't just want to load an external file rather after wherever jquery < script src="js/jquery-3.6.0.min.js"> is loaded:
$("main").append($("<script></script>").attr("src", url));
Any thoughts are highly appreciated.