JQuery.cookie in Drupal 7

A quick tip for all Drupalistas outhere: if you want to use jQuery.cookie in your project, you actually don't have to download and install the library. jQuery.cookie is a part of Drupal 7 and can be included as easy as typing: 

1
  1. drupal_add_library('system', 'jquery.cookie');

Wondering to see what other libraries are included? Run this:

1
  1. print_r(drupal_get_library('system'));

to get a full list of system libraries.