<input id="imageContent" name="imageContent" type="text" placeholder="验证码" maxlength="4" style="width: 71px;" onblur="checkImageCode(this.value)">
input失去焦点时触发checkImageCode()方法
<img id="imgObj" alt="验证码" src="${base }/captcha/getCaptchaImage" onclick="changeImg()">
点击的时候触发changeImg()方法