BlockUI java script not execting inside of ContentPlacehoder of aspx page Master page
<p>I have the following BlockUI javascript set up to run on an aspx page which is in a ContentPlaceholder of a Master page. When the page loads and when I click the ASP button, the javascript fires, and shows the alert boxes 1 and 4, but not 2 and 3.</p>

<pre><code>&lt;script type="text/javascript"&gt;
 $(document).ready(function() {
    alert('alert1');

    $('#Button3').click(function() {
    alert('alert2 button clicked');
        $.blockUI({ message: '&lt;h1&gt;Just a moment...&lt;/h1&gt;' });

        alert('alert 3 It clicked!');
    });
    alert('alert4!');
 });

 &lt;/script&gt;
</code></pre>

<p>I am think it has something to do with finding the button inside of the ContentPlaceholder.</p>

<p>Any Ideas anyone?</p>

<p>Here's the button, no code behind events are set up on it.</p>

<pre><code> &lt;td class="style17"&gt;
     &lt;asp:Button ID="Button3" runat="server" Text="Button" /&gt;
 &lt;/td&gt;
</code></pre>
