jQuery, insertBefore, validation, Placement of error message
- by Steve
I am using insertBefore under errorplacement to add validation messages, each one below each other as I want the order of the messages to go from top to bottom.
I am using a hidden input at the very bottom of a parent element in order to supply an element for the insertBefore argument.
Is there a way to insert from the bottom without using the dummy hidden element?
If I use absolute positioning, there is a possibility for white space, for example 3 stacked messages, the middle one missing since there is no collapsing with absolute positioning.