title: JQuery load event not working
body: <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;link href="https://code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css" rel="stylesheet" type="text/css" /&gt;
  &lt;script src="https://code.jquery.com/jquery-1.11.3.js"&gt;&lt;/script&gt;
  &lt;script src="https://code.jquery.com/ui/1.11.4/jquery-ui.js"&gt;&lt;/script&gt;
    &lt;meta charset="utf-8"&gt;
    &lt;meta name="viewport" content="width=device-width"&gt;
    &lt;title&gt;Jquery load event not working&lt;/title&gt; 
     &lt;style&gt;
    div {
      width: 100px;
      height: 100px;
      background-color: #ccc;
    }
    .big {
      width: 200px;
      height: 200px;
    }
    .blue {
      background-color: #00f;
    }
    &lt;/style&gt;
  &lt;/head&gt;
  &lt;body&gt; 
   
  &lt;div class="big"&gt;&lt;/div&gt;
   
  &lt;script&gt;
  $( "div" ).load(function() {
    $( this ).switchClass( "big", "blue", 1000, "easeInOutQuad" );
  });
  &lt;/script&gt;
   
  &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>JQuery <strong>load</strong> event not working. You can check above code, wanted change of class from big to blue with background-color changing to #00f along with width and height of div</p>