user5229526
user5229526

Reputation:

JQuery Dialog Box Display after disable scroll bar

Im develop the Jquery Message box , but i can't disable scrollbar, what are the solution?

<script src="js/bootstrap.min.js"></script>
     @if (TempData["SuccessEdit"] != null)
    {
        <script>
            $(function () {
                $("#green").dialog({
                    modal: true, 
                });

            });
        </script>
    }

Upvotes: 1

Views: 160

Answers (1)

Leo Javier
Leo Javier

Reputation: 1403

<script src="js/bootstrap.min.js"></script>
     @if (TempData["SuccessEdit"] != null)
    {
        <script>
            $(function () {
                $("#green").dialog({
                    modal: true, 
                });

            });
$("#green").css({'overflow':'hidden'});
        </script>
    }

or just add a css rule to your page

#green {
overflow:hidden;
}

Upvotes: 1

Related Questions