rolfsf,
The purpose of the caching is because when you invoke unblock() or unblockUI the blocking elements are removed from the DOM. That means you can't find them again with a jQuery selector, so they need to be cached or they won't be reusable. The difference between using an existing DOM element and using a string like I suggested in my last post is mostly one of style, rather than function. Both will work, but to me it just feels simpler to use a string and let jQuery create the nodes when (and if) they are needed. Mike
Cool - thanks Mike. I guess I don't understand the purpose of the cacheing in this case (my javascript knowledge is limited). When I've got my proof-of-concept working correctly and pass it on to the engineers to implement, I'll know better whether the div or the simple static message works better - I'm just trying to build enough flexibility in to it.