Enabled AJAX validation (enableAjaxValidation) is not working for me in IE

I enabled AJAX validation for a single input field by configuring the enableAjaxValidation property of that field to be true and specifying a unique form id. The code works fine in Chrome and Firefox, but the ajax call is not working in IE. Submitting of the form in IE does not work either unless I remove enableAjaxValidation reference from my code. Are there any known issues of enableAjaxValidation not working in IE? I am using Yii 2.0.11. Thanks for your help.

View.




<?= $form->field($moel, 'username', ['enableAjaxValidation' => true])->textInput(['autofocus' => true]); ?>



controller Action:




if (Yii::$app->request->isAjax && $model->load(Yii::$app->request->post())) {

    Yii::$app->response->format = Response::FORMAT_JSON;

    return ActiveForm::validate($model);

}