• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 259
  • Last Modified:

JQuery Dailog

Simply need to convert this code to the jquery dialog equivalent.

<script type="text/javascript">
      $(function() {
                  bgiframe: true,
                  resizable: false,
                  modal: true,
                  overlay: {
                        backgroundColor: '#000',
                        opacity: 0.5
                  buttons: {
                        'Do You Wish To Confirm Your Request To Delete This Item': function() {
                        Cancel: function() {
1 Solution
you can simply use jQuery UI:


<script type="text/javascript" src="http://ui.jquery.com/testing/jquery-1.3.1.js"></script>
  <script type="text/javascript" src="http://ui.jquery.com/testing/ui/ui.core.js"></script>
  <script type="text/javascript" src="http://ui.jquery.com/testing/ui/ui.draggable.js"></script>
  <script type="text/javascript" src="http://ui.jquery.com/testing/ui/ui.resizable.js"></script>
  <script type="text/javascript" src="http://ui.jquery.com/testing/ui/ui.dialog.js"></script>
<div id="confirmDelete" title="Dialog Title">I'm in a dialog</div>

Open in new window

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now