Embedding .js in html, versus in Drupal
// LINKED TO A SIMPLE HTML PAGE before body close tag:
// <script src="js/jquery-1.11.2.min.js"></script>
// <script src="js/multitoggle.js"></script>
$(document).ready(function() {
//here comes the function
});
});
//////////////////////////////
// LINKED TO DRUPAL:
(function($) {
//here comes the function
});
})(jQuery);