Jquery Block on my document .ready function not working

Posted by kumar on Stack Overflow See other posts from Stack Overflow or by kumar
Published on 2011-01-11T15:16:35Z Indexed on 2011/01/11 15:53 UTC
Read the original article Hit count: 164

Filed under:
|
|

Hello Friens,

I have this code,

I added JS Script file to my Master page.

 <script src="/Scripts/Jquery.blockUI.js" type="text/javascript"></script>

This Below code I have in my master page.on document.ready

<script type="text/javascript">
    $(document).ready(function () {
        $.blockUI({ message: $('#question'), css: { width: '275px'} });
        }); 
</script> 
<div id="question" style="display:none; cursor: default"> 
    <h2 class="padding"><br />An unexpected system error has occurred while processing your request.<br /></h2>
    <h3>We apologize for this inconvenience.<br />
     Please report this error to your system administrator with the following information:<br /><br />
     Session id is:</h3>
     <input type="button" id="OK" value="OK" /> 
</asp:Content>

On my Document.ready Function my BlockUi is not working?

can any body tell me why its not working?

thanks

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery