Define your error summary in the same way:
<div id='errors' style="display: none;">Sample Error</div>
Use the jQuery.show () method to display the div as:
if (errors == true){
$("#errors").show()
}
.html() , :
if (errors == specificError){
$("#errors").html('A specific error has occurred')
$("#errors").show()
}
, API jQuery - .
EDIT: , jq validate, , , , .