Using drupal_add_js() function we can include js file or inline js code like this
drupal_add_js(drupal_get_path(‘module’, ‘example’) . ‘/example.js’);
drupal_add_js('jQuery(document).ready(function () { alert("Hello!"); });', 'inline');
drupal_add_css(drupal_get_path('module', 'example') . '/example.css');
drupal_add_library('example', 'drag-and-drop');