diff --git a/live-form-validation.js b/live-form-validation.js index 691036b..1cc3606 100644 --- a/live-form-validation.js +++ b/live-form-validation.js @@ -303,7 +303,7 @@ LiveForm.getMessageElement = function(el) { var parentEl = this.getMessageParent(el); if (parentEl) { - parentEl.appendChild(messageEl); + parentEl.insertBefore(messageEl, el.nextSibling); } }