> It seems to bug because i am using a <form>
> Ive tried the <form> tag inside the <div> and outside the <div> like
> below.
> If i take out the <form> tag, it goes away fine without issues.
>
> <script src="js/jquery.js"></script>
> <script src="js/jquery.blockUI.js"></script>
> <script>
>         $(function() {
>
>                 $.blockUI({ message: $('#question'), css: { width: '275px' } 
> });
>                 $('#btnClose').click($.unblockUI);
>         });
> </script>
>
> <form action="" method="post" id="editForm">
> <div id="question" style="display:none; cursor: default;z-index:200">
>
>         <input type="button" id="btnClose" value="close">
>
> </div>
> </form>



There must be something more to your page that is getting in the way.
The simple code you posted works fine for me:

http://www.malsup.com/jquery/block/sep04.html

Reply via email to