jQuery Dropdown select

jQuery Dropdown select

hi,
first of all i'm new to this forum and thats my first post so please tell me if there are other information you need to help me here.
In my recent project i'm trying to use  this plugin to improve the look of my select box. But when i'm calling the function to start the plugin I can't get the .change() of the select box. Here's my code:
  1. $(function(){
  2. $('#cd-dropdown').on('change', function() {
  3.   alert( this.value );
  4. });
  5. $( '#cd-dropdown' ).dropdown();
  6. });