<!doctype html><html><head><meta charset='utf-8' >
<script src=" https://libs.baidu.com/jquery/2.1.4/jquery.min.js" ></script>
</head><body>
<form method="post">
<input type="checkbox" name="es[]" value="es4">es4
<input type="checkbox" name="es[]" value="es5">es5
<input type="checkbox" name="es[]" value="es6">es6
<input type="button" value="send"/>
</form>
<script>
$(function(){
var data={es:['es5','es6']}
$('input:checkbox[name="es[]"][value="'+data.es+'"]' ).prop('checked',true) ;
});
</script>
</body></html>