I made a module and wish to add js file to that module, I enable the module and obvious it works. But I didn't see the js file that module should take with.
I just put the code in the hook_menu() like this
function my2form_menu() {
drupal_add_js(drupal_get_path('module', 'my2form') . '/abc.js');
}
is it ok?