personnelly i would not write the code the way you are, I would have an on blur event to manage this, or send the command to the server side and let the server side indicate the issue and return the...

I tested the following code in FF & IE 8 & Safari - and it works; I commented out the following section, why are you setting region when not using a border layout? Anyway the toolbar is working fine,...