> $('#edit-square-area').after('<div class="error">'+errorMessage+'</div>');
>
> - RichardOK, thanks, that works in this case. But say for some reason I need to add a class to the <div> dynamically. What would the syntax be to shift focus to that element after appending it to #edit-square-area so that I could use addClass? Thanks. Steve

