I want to view the jQuery validation text response in a new line, not in a line with input elements.
How can i achieve this?
code: http://jsfiddle.net/5gVHx/2/
Press NEXT, you will see the verification response line in the same line as the input, I want it in a new line
Just add display: block; to the label.error selector.
display: block;
label.error
label.error { float: none; color: red; padding-left: .5em; vertical-align: top; display: block; }
http://jsfiddle.net/5gVHx/5/
add the following parameter to your validation options
errorLabelContainer: "#errors"
where #errors is the selector of the element in which you want to show errors
#errors
just add a break to your statement
provincia: "<br />Por favor selecciona una provincia"
will move to the next line.
Source: https://habr.com/ru/post/1380759/More articles:Localstorage: counts the number of values ββin a key when using stringify - javascriptDocumenting class constants groups with phpDocumentor - phpXML parsing on iphone with authenticator - iphoneput facebook wall in android - androidLinux kernel, iptables and vmalloc size - linuxSlider at the end of audio playback - iosAwk or Perl solution to delete rows with incomplete data - awkHow can I put widgets and shortcuts on the watch page? - androidHow much memory is consumed by my object - c ++Why is the same type duplicated in a gcc library - c ++All Articles