function buildErrorMessages(errors)
{
    var html = '<ul>';
	jQuery.each(errors, function(key, value){
        html += '<li>' + value + '</li>';
    });

    html += '</ul>';

    return html;
}
/**
 * Building error messages for manipulating data
 * 
 * @param errors
 * @returns {String}
 */
Building error messages for manipulating data

@param errors
@returns {String}
Building error messages for manipulating data @param errors @returns { String }
function buildErrorMessages(errors)
{
    var html = '<ul>';
	jQuery.each(errors, function(key, value){
        html += '<li>' + value + '</li>';
    });
    html += '</ul>';
    return html;
}
function buildErrorMessages ( errors ) { var html = '<ul>' ; jQuery . each ( errors , function ( key , value ) { html += '<li>' + value + '</li>' ; } ) ; html += '</ul>' ; return html ; }
Building error messages for manipulating data
Building error messages for manipulating data