I have created a custom module in drupal 7. The module creates a form for user and store the form's data into database. The module is working fine. But I want to add a custom jquery for the page. I searched Google and find the result for adding custom JQuery for theme not for modules. I guessed and add the following in my module's info file
;scripts scripts = js/test.js
Just alert a "hello" word while the module will load. But nothing is happened. Is this possible to add custom Jquery for a module or I am doing wrong? Please help.