title: JqueryUI confirm dialog
body: <p>I would like to add a Jquery UI confirm dialogue but I don't get it...
  May be you can help me.</p>
  
  <p>I have a grid and the last line calls the delete of an element with the onClick event...</p>
  
  <pre><code>grid.Column(header: loc.GetText("CourseManagement_Action_Delete"), format: @&lt;text&gt;&lt;a href="@Url.Action("DeleteCourse", new { courseId = item.CourseId })" onclick="ConfirmDelete(item.courseID);"&gt;&lt;img id="deleteImage" class="buttonHover" src="@Href("~/Content/images/delete.png")" alt="" style="border: none; position: relative;" /&gt;&lt;/a&gt;&lt;/text&gt;, style: "columnWidth")
  </code></pre>
  
  <p>In my Javascript I have have the following</p>
  
  <pre><code>    function ConfirmDelete() {
      return confirm("Really delet");
  }
  </code></pre>
  
  <p>I want to change it to get a Jquery UI confirm dialogue. How can I realize it?</p>
  
  <p>Thanks for your help.</p>