title: jQuery qTip not changing classes ?
body: <p>Hii i am using qTip 2 i want the class <code>ui-tooltip-dark ui-tooltip-shadow</code> but it doesnt shows that class. I have this code:</p>
  
  <pre><code>    $('.selector').qtip({
     content: {
        text: function(api) {
           // Retrieve content from custom attribute of the $('.selector') elements.
           return $(this).attr('qtip-content');
          }
        },
        title: {
           text: function(api) {
              // Retrieve content from ALT attribute of the $('.selector') element
              return $(this).attr('alt');
           }
        },
       style: {
        classes: 'ui-tooltip-dark ui-tooltip-shadow';
        }
  });
  </code></pre>
  
  <p>But when i put the code that is on their site it works</p>
  
  <p>Can u please tell me where am i going wrong ?</p>
  
  <p><strong>EDIT</strong></p>
  
  <pre><code>    &lt;script type="text/javascript" class="example"&gt;
  $(document).ready(function()
  {
      $('.selector').qtip({
     content: {
        text: function(api) {
           // Retrieve content from custom attribute of the $('.selector') elements.
           return $(this).attr('qtip-content');
        }
       },
        title: {
           text: function(api) {
              // Retrieve content from ALT attribute of the $('.selector') element
              return $(this).attr('alt');
           }
        },
       style: {
        classes: 'ui-tooltip-dark ui-tooltip-shadow';
        }
  });
  });
  &lt;/script&gt;
  </code></pre>