I had a go at this, but the overlay doesn't show at all for the button
click now.

Previously I also managed to get the overlay to show, but then the
code-behind didn't run, so it looked as thought he browser had frozen
up.

Agggghh!

On Feb 27, 12:34 pm, Mike Alsup <mal...@gmail.com> wrote:
> > I've managed to get BlockUI working in conjunction with a page on my
> > site that uploads files. However, the way I've done it works off the
> > window.onbeforeunload event, so it is displayed on every single click
> > or navigation on the page.
>
> > How can I force it to display only with the upload button click?
>
> > (Site address ishttp://www.ka72.comandI am a total jquery newbie,
> > so speak slowly and be gentle with me!)
> > Dylan.
>
> Have you tried just binding the click event on your upload button?
>
> $('#myUploadButton').click(function() {
>     $.blockUI();
>     ...
>
> });

Reply via email to