insert Jquery Inline code into Drupal module.

afbeelding van Developmentteam

Last i was looking again for how to insert inline jquery directly in a Drupal module. Here is the answer, as to not forget it again.

drupal_add_js("jQuery(document).ready(function($) { // Code using $() as usual goes here })","inline");

shadow