I have a module called catalog_menu
I included a js file within this module in this way:
drupal_add_js(drupal_get_path('module', 'catalog_menu') . '/js/catalog_menu.js');
Now in the browser I get this error message:
Uncaught TypeError: Property '$' of object [object DOMWindow] is not a function
I think that the problem is that catalogo_menu.js is loaded before jquery.js (the jquery library)
What is the right way to load a js file which depends on jquery library?