Ajax Submit buttom

How to add ajax submit button in yii 2 form?

My form is inside a modal