title: jQuery colorbox and alert
body: <p>I am using this javascript for a ColorBox pop-up.</p>
  
  <pre><code>&lt;script  src="$contextpath/js/jquery-1.7.js" type="text/javascript" &gt;&lt;/script&gt;
  </code></pre>
  
  <p>and I am using the javascript below for an alert message.</p>
  
  <pre><code>&lt;script src="jquery/js/jquery-1.9.0.js"&gt;&lt;/script&gt;
  &lt;script src="jquery/js/jquery-ui-1.10.0.custom.min.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>In this case Colorbox is working properly but alert method is showing <code>"undefined method"</code> </p>
  
  <pre><code>$("#dialog").dialog( {
              modal : true,
              buttons : {
                  Ok : function() {
                      $(this).dialog("close");
                  }
              }
          });
  </code></pre>
  
  <p>I have to use both things in same page. Can anybody provide solution for this?</p>