ํ‹ฐ์Šคํ† ๋ฆฌ ๋ทฐ

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>jQuery UI Dialog - Default functionality</title>
    <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css">
    <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
    <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
    <link rel="stylesheet" href="/resources/demos/style.css">
    <script>
        $(document).ready(function () {
            $("#dialog").dialog({
                buttons: [{
                    text: "์žฅ๋ฐ”๊ตฌ๋‹ˆ๋กœ ๊ฐ€๊ธฐ", click: function () {
                        alert("You clicked Yes!")
                        $(this).dialog("close");
                    }
                },
                {
                    text: "์‹ซ์–ด์š” ใ…‹ใ…‹", click: function () {
                        $(this).dialog("close");
                        window.location.href = 'http://www.zum.com';
                    }
                }],
                autoOpen: false,
                show: { effect: "bounce", duration: 300 },
                hide: { effect: "explode", duration: 300 }
            });
            $(function () {
                $("#btnTest").click(function () {
                    $("#dialog").dialog("open");
                    return false;
                });

            });
        });
    </script>
</head>
<body>
    <form id="form1">
        <div id="dialog" title="Confirm!">
            <p>Are you sure you dont have an existing ticket?.</p>
        </div>
        <input type="button" ID="btnTest" Text="Test" Value="Test" />
    </form>
</body>
</html>

๋Œ“๊ธ€