error message to show in label jquery

JavaScript
<label id="reg_name-error" class="error" for="reg_name" style="display: inline-block;"></label>
Source

Also in JavaScript: