Your setTimeout syntax looks a little off. Maybe:

setTimeout(function() { $el.unblock(); }, 5000);

--Erik


On 4/2/07, Mike Alsup <[EMAIL PROTECTED]> wrote:

Tom,

If you're still using a function to block, it's something like this:

function blockElement(id) {
    var $el =$('#'+id);
    $el.block();
    setTimeout(function() { $el.unblock(); 5000 });
}


On 4/2/07, Tom  Shafer <[EMAIL PROTECTED]> wrote:
>
> How could I use settimeout on block so that blockui will goway after a
> certain amount of time?
>
>

Reply via email to