These are simple divs. No need to download jQuery for this.
<div class="error_hidden" id="error_dialog">Oops, there was an error!</div>
Write CSS for "error" and "error_hidden", then use the javascript event to change the class and position of the div, or better yet, create a new div dynamically when the event fires.
Fannypack
source
share